Coder Social home page Coder Social logo

hifiberry / hifiberry-os Goto Github PK

View Code? Open in Web Editor NEW
978.0 34.0 123.0 35.94 MB

Linux distribution optimized for audio playback

License: MIT License

Shell 18.26% Makefile 16.05% Python 4.22% C 61.18% HTML 0.14% EQ 0.07% Visual Basic 6.0 0.07%
hifiberry audio music dsp roon spotify airplay mpd snapcast alsa

hifiberry-os's People

Contributors

ashtoncowie avatar bertware avatar blockbasti avatar dannyzen avatar erik-metz avatar gpatkinson avatar grischard avatar hifiberry avatar hojo0590 avatar jzahraoui avatar komtgoed avatar lopekinz avatar maze735 avatar mdesnouveaux avatar mgoltzsche avatar mgrosso avatar nicolasbonduel avatar ohitsdylan avatar patricker avatar peterrem avatar pseiderer avatar qerub avatar schnabel avatar sonne4711 avatar theblond avatar tysonnorris avatar weidav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hifiberry-os's Issues

Allow us to rename bluetooth / sources to allow us to distinguish them from Airplay

In MacOS toolbar you can quickly switch output device. Personally if use bluetooth as a fallback for Airplay, especially if I experience audio lag when watching movies. But it is impossible to know which is which from the toolbar.

Example - Only see two Hifiberry

Screen Shot 2020-03-11 at 00 05 22

At least for the BT device it would be helpful if we could rename it.

Airplay not working on RPI 3B

I cannot select airplay as a source on version 20200127 running on a raspberry Pi 3 B (not the plus version). Airplay input can be enabled. I can also connect from my device (mbp running macos 10.15.3), where the output changes to airplay, so everything seems to be working on that end.

Connect more than one Spotify account

In our house we use more than one Spotify account to stream music. I was wondering if it is possible to connect multiple accounts to HifiberryOS. Maybe start a spotifyd service for each account and let the OS determine which one to use?

Pi4 not fully detected

When running on a Pi4, the PIVERSION variable in hifiberry.state is not set correctly.
This is a not a problem for end users, but for the automated tools

Feature: Master Volume Limit

Hello,

would it be possible set a limit for the master volume (.conf // Web-GUI)? Would be great if the LineOut is connected directly to a power amp.

Thanks
Jan

Volume jumps

Running HiFi BerryOS/BeoCreate/Rpi4/Roon

When I set the volume control in Roon at 50, it jumps to 70.

This does not happen on any other Roon devices

RP3b+AMP2 - Squeezelite output distorted after a while

Using a RP3b+ and AMP2 with Squeezelite.

Sound distortion occurs after a while (couple hours) during LMS playback or a long pause. It sounds like the sample rate is too low for the played media. Always occurs, always fixable by turning the device off in LMS and on again.

Sound from other sources (e.g. local play) is not affected, only LMS playback.

People with a similar problem:
https://www.max2play.com/en/forums/topic/squeezelite-always-needs-to-be-restarted-after-non-use/
https://www.max2play.com/en/forums/topic/distorted-sound-on-rpi3/
sixeyed/squeezelite#31

# systemctl status squeezelite
● squeezelite.service - Squeezelite
   Loaded: loaded (/usr/lib/systemd/system/squeezelite.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2019-10-16 09:50:41 UTC; 6h ago
  Process: 345 ExecStartPre=/usr/sbin/alsactl --file /tmp/sqvol store (code=exited, status=0/SUCCESS)
  Process: 346 ExecStartPre=/bin/bash -c /usr/bin/systemctl set-environment MIXER=`/opt/hifiberry/bin/volume-control-name` (code=exited, status=0/SUCCESS)
  Process: 350 ExecStartPost=/usr/bin/sleep 5 (code=exited, status=0/SUCCESS)
  Process: 355 ExecStartPost=/usr/sbin/alsactl --file /tmp/sqvol restore (code=exited, status=0/SUCCESS)
 Main PID: 349 (squeezelite)
    Tasks: 4 (limit: 2143)
   Memory: 16.6M
   CGroup: /system.slice/squeezelite.service
           └─349 /usr/bin/squeezelite -o default -M HiFiBerry -N /var/squeezelite/squeezelite.name -V Digital

Oct 16 09:50:36 HiFiBerry systemd[1]: Starting Squeezelite...
Oct 16 09:50:41 HiFiBerry alsactl[355]: /usr/sbin/alsactl: set_control:1461: Cannot write control '2:0:0:Max Overclock PLL:0' : Device or resource busy
Oct 16 09:50:41 HiFiBerry alsactl[355]: /usr/sbin/alsactl: set_control:1461: Cannot write control '2:0:0:Max Overclock DSP:0' : Device or resource busy
Oct 16 09:50:41 HiFiBerry alsactl[355]: /usr/sbin/alsactl: set_control:1461: Cannot write control '2:0:0:Max Overclock DAC:0' : Device or resource busy
Oct 16 09:50:41 HiFiBerry systemd[1]: Started Squeezelite.
Oct 16 09:50:59 HiFiBerry squeezelite[349]: [09:50:59.606786] _write_frames:615 mmap_commit error

dsptoolkit doesn't return profile

dsptoolkit does not return the XML profile, even if it is installed correctly:

dsptoolkit check-eeprom
EEPROM content matches running profile, checksum 9F318812997F054F796E69DC3C71FC9E

dsptoolkit --timeout=20 get-xml

None

ls -l /var/lib/hifiberry/
total 201
-rw-r--r-- 1 root root 204863 Oct 30 19:05 dspprogram.xml

Bluetooth audio not working

Logitech Media Server works perfectly but I'm unable to get Bluetooth audio working at all. I can connect my phone (Samsung Galaxy S8) to HiFiBerry but get no audio, just the following error over and over again.

 Bluetooth: hc10: Frame reassembly failed (-84)

I've tried with both a Pi 3B and a Pi 3B+ and both yield the same result.

Output of systemctl status bluetoothd with the phone connected and attempting to play audio over Bluetooth is as follows:

 ● bluetoothd.service - Bluetooth demon

 Loaded: loaded (/usr/lib/systemd/system/bluetoothd.service; enabled; vendor preset: enabled)
 Active: active (running) since Mon 2019-10-14 14:19:45 UTC; 4min 18s ago
 Main PID: 174 (bluetoothd)
 Tasks: 1 (limit: 2143)
 Memory: 2.8M
 CGroup: /system.slice/bluetoothd.service
 └─174 /usr/libexec/bluetooth/bluetoothd -f /etc/bluetooth/main.conf -P sap,hostname

 Oct 14 14:19:58 Lounge bluetoothd[174]: Bluetooth management interface 1.14 initialized
 Oct 14 14:20:00 Lounge bluetoothd[174]: Player registered: sender=:1.12 path=/_1_9
 Oct 14 14:20:01 Lounge bluetoothd[174]: Endpoint registered: sender=:1.14 p    ath=/hci0/A2DP/MPEG24/Sink/1
 Oct 14 14:20:01 Lounge bluetoothd[174]: Endpoint registered: sender=:1.14 path=/hci0/A2DP/SBC/Sink/1
 Oct 14 14:20:03 Lounge bluetoothd[174]: Player registered: sender=:1.12 path=/_1_17
 Oct 14 14:20:03 Lounge bluetoothd[174]: Player registered: sender=:1.12 path=/_1_18
 Oct 14 14:20:14 Lounge bluetoothd[174]: Player registered: sender=:1.12 path=/_1_20
 Oct 14 14:23:49 Lounge bluetoothd[174]: Endpoint registered: sender=:1.14 path=/hci0/A2DP/MPEG24/Sink/2
 Oct 14 14:23:50 Lounge bluetoothd[174]: /org/bluez/hci0/dev_C8_D7_B0_09_2C_F6/fd0: fd(21) ready
 Oct 14 14:23:53 Lounge bluetoothd[174]: Control: Refusing unexpected connect

96kHz Roon playback distorted

Playback of 96kHz files is distorted
This happens only in non-exclusive mode (if Roon is not the only player that's enabled)

Bluetooth dropouts on Pi Zero W

Hi,
I dowloaded and installed your pi zero w image in a pi zero w v1.1.
I managed to get lms working correctly, but I look for Bluetooth devices, I can't see Hifiberry.

# systemctl status bluetoothd
● bluetoothd.service - Bluetooth demon
   Loaded: loaded (/usr/lib/systemd/system/bluetoothd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-10-22 21:23:59 UTC; 8min ago
 Main PID: 132 (bluetoothd)
   Memory: 2.3M
   CGroup: /system.slice/bluetoothd.service
           └─132 /usr/libexec/bluetooth/bluetoothd -f /etc/bluetooth/main.conf -P sap,hostname

Oct 22 21:24:02 HiFiBerry bluetoothd[132]: Bluetooth daemon 5.50
Oct 22 21:24:03 HiFiBerry bluetoothd[132]: Starting SDP server
Oct 22 21:24:03 HiFiBerry bluetoothd[132]: Excluding (cli) hostname
Oct 22 21:24:03 HiFiBerry bluetoothd[132]: Bluetooth management interface 1.14 initialized
Oct 22 21:24:03 HiFiBerry bluetoothd[132]: Failed to set privacy: Rejected (0x0b)
Oct 22 21:23:59 HiFiBerry systemd[1]: Started Bluetooth demon.
Oct 22 21:24:29 HiFiBerry bluetoothd[132]: Endpoint registered: sender=:1.11 path=/hci0/A2DP/MPEG24/Sink/1
Oct 22 21:24:29 HiFiBerry bluetoothd[132]: Endpoint registered: sender=:1.11 path=/hci0/A2DP/SBC/Sink/1
Oct 22 21:24:33 HiFiBerry bluetoothd[132]: Player registered: sender=:1.9 path=/_1_13
Oct 22 21:24:54 HiFiBerry bluetoothd[132]: Player registered: sender=:1.9 path=/_1_18

and:

# hcitool dev
Devices:
	hci0	B8:27:EB:22:17:BA
# hciconfig -a
hci0:	Type: Primary  Bus: UART
	BD Address: B8:27:EB:22:17:BA  ACL MTU: 1021:8  SCO MTU: 64:1
	UP RUNNING PSCAN ISCAN 
	RX bytes:766 acl:0 sco:0 events:49 errors:0
	TX bytes:1536 acl:0 sco:0 commands:49 errors:0
	Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
	Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 
	Link policy: RSWITCH SNIFF 
	Link mode: SLAVE ACCEPT 
	Name: 'HiFiBerry'
	Class: 0x040414
	Service Classes: Rendering
	Device Class: Audio/Video, Loudspeaker
	HCI Version: 4.1 (0x7)  Revision: 0x168
	LMP Version: 4.1 (0x7)  Subversion: 0x2209
	Manufacturer: Broadcom Corporation (15)

Any hints?
Thanks

AirPlay stops immediately after start

As the title says.

Version: 20200226
Worked fine in previous version.

After some troubleshooting I can see that shairport-sync launches /opt/hifiberry/bin/pause-all (because of run_this_before_play_begins = "/opt/hifiberry/bin/pause-all shairport" in /etc/shairport-sync.conf) and that pause-all actually kills shairport-sync (ungrateful child process!).

Enabling log_verbosity = 1 in /etc/shairport-sync.conf and looking in the system journal I see this:

shairport-sync[2819]:          0.005948422 "audio_alsa.c:530" alsa: output format chosen is "S32".
shairport-sync[2819]:          0.001842860 "audio_alsa.c:570" alsa: output speed chosen is 44100.
shairport-sync[2819]: don't know how to pause shairport-sync
shairport-sync[2819]:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
shairport-sync[2819]:                                  Dload  Upload   Total   Spent    Left  Speed
shairport-sync[2819]:          0.194648187 "dacp.c:157" No DACP port specified yet
python3[509]: INFO: mpris - sent Pause to org.mpris.MediaPlayer2.ShairportSync
shairport-sync[2819]: [158B blob data]
shairport-sync[2819]: ok
beocreate2[573]: Source 'shairport-sync' has activated (index 1).
python3[509]: 127.0.0.1 - - [08/Mar/2020 12:07:36] "post /api/player/pause HTTP/1.1" 200 2
python3[509]: INFO: musicbrainz - found data for Mgła on musicbrainz
python3[509]: INFO: musicbrainz - found data for Age of Excuse V on musicbrainz
python3[509]: INFO: lastfm - Got album cover for Mgła/Age of Excuse from Last.FM: http://coverartarchive.org/release/97171a0b-4f69-492d-849d-afed2533f5df/23991309834.jpg
shairport-sync[2819]: shairport-sync still using the sound card killing it
systemd[1]: shairport-sync.service: Main process exited, code=killed, status=15/TERM
systemd[1]: shairport-sync.service: Succeeded.

I find the application logic in pause-all a bit hard to follow so I haven't tried to figure out a solution.

Shutdown and restart not working completely.

Using version 20191030 on a pi4 and Digi+ Pro through wifi

Started up and the screen shows a HifiBerryOS logo and "web interface ready at 192.168.1.14" which is nice.

I can access the interface on Chrome and all seems fine. But when I try to shut down or restart, Chrome displays a graphic and says "Restarting product" but the display on the TV is stuck on the HifiBerryOS logo and "web interface ready at 192.168.1.14" as before. I waited a while (3-4 minutes) and still no change and eventually Chrome displays "Product is unreachable". All the while on the screen, the display is stuck on the "web interface ready..." and I can no longer access the web interface until I unplug/plug the power jack.

The same thing happens without the hdmi cable connected.

*note - I'm not sure if shutdown works when hdmi is not connected. The red light remains on, however.

Thanks

C

Unable to upgrade from 20200226 to 20200328 - ERROR:root:can't get attribute volumeControlRegister from XML

Clean 20200226 install, nothing fancy.
Trying to upgrade from the web UI, it starts and the spinner spins and spins and spins and...

Apr 02 14:20:07 hifiberry beocreate2[395]: Software update is available – release 20200328.
Apr 02 14:20:09 hifiberry beocreate2[395]: Starting software update.
Apr 02 14:20:10 hifiberry beocreate2[395]: Downloading update...
Apr 02 14:20:11 hifiberry beocreate2[395]: Extracting firmware...
Apr 02 14:20:11 hifiberry beocreate2[395]: Resizing file system...
Apr 02 14:20:11 hifiberry kernel: EXT4-fs (mmcblk0p3): VFS: Can't find ext4 filesystem
Apr 02 14:20:11 hifiberry beocreate2[395]: Extracting new kernel...
Apr 02 14:20:11 hifiberry beocreate2[395]: Software updater process exited (code 1).
Apr 02 14:20:14 hifiberry systemd[1]: systemd-hostnamed.service: Succeeded.
Apr 02 14:20:31 hifiberry systemd[1]: Starting Store volume...
Apr 02 14:20:32 hifiberry sigmatcpserver[244]: ERROR:root:can't get attribute volumeControlRegister from XML
Apr 02 14:20:32 hifiberry systemd[1]: store-volume.service: Succeeded.
Apr 02 14:20:32 hifiberry systemd[1]: Started Store volume.
Apr 02 14:22:21 hifiberry systemd[1]: Starting Store volume...
Apr 02 14:22:22 hifiberry sigmatcpserver[244]: ERROR:root:can't get attribute volumeControlRegister from XML
Apr 02 14:22:22 hifiberry systemd[1]: store-volume.service: Succeeded.
Apr 02 14:22:22 hifiberry systemd[1]: Started Store volume.
Apr 02 14:23:31 hifiberry systemd[1]: Starting Store volume...
......

system logs

dmesg.txt
logs.txt

MDP not launching from xxx.local

Open the interface using http://xxx.local (xxx=<whatever you've called your 'berry) and open up the MDP page from the Sources page.

Click the 'OPEN MDP WEB PAGE' button and it fails to load - on Safari get 'Safari can't open the page xxx.local:9000 because the server unexpectedly dropped the connection.' Other browsers are similar.

Opening the interface using an IP address e.g. 192.168.1.99 and follow the above steps and MDP page opens just fine.

NB. Browsing directly to http://xxx.local:9000 gives the same error so it's probably an mDNS thing???

WiFi access point

I know using a wired connection is preferred, but just want to let you know what I'm seeing.

Without a wired connection, the boot sequence ends with "No network connected, configure network using wifi setup." Which is usual.

Unfortunately, the unit then does not emit any wifi signal for me to connect to.

This is a clean install and 2 microSD cards, same results. I tried running Rapsbian and wifi works fine.

Thanks

C

Sound-card DAC+ light no sound settings

Hello,

I just installed hifiberry-os on a raspberry pi 3 A+ with a DAC+ light. Works great I have sound. But I am not sure if hifiberry-os did used the correct sound drivers. I have some noise in the output and in the sound config page the sound card is Unknown. There are also no settings available for the sound card. Is this correct?
image
This are my diagnostics files:
amixer.txt
aplay.txt
arecord.txt
asound.conf.txt
df.txt
hifiberry.state.txt
hw_params.0.txt
[hw_params.1.txt] empty
[hw_params.2.txt] empty
playerstate.txt
systemctl.txt
top.txt
version.txt

Need a disable Button for wifi

It is urgend to allow to disable the WiFi at all. All those Hifiberry_setup_cdbbb WiFi nets are unsecure and pollute the already filled WiFi frequencies.

Bluetooth not connecting to TV - fine on phone

RPi 3 B+
AMP2

# cat /etc/os-release
NAME=Buildroot
VERSION=2019.08.2
ID=buildroot
VERSION_ID=2019.08.2
PRETTY_NAME="Buildroot 2019.08.2"
# systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2019-11-26 08:12:54 UTC; 10min ago
     Docs: man:bluetoothd(8)
 Main PID: 1252 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 2143)
   Memory: 872.0K
   CGroup: /system.slice/bluetooth.service
           └─1252 /usr/libexec/bluetooth/bluetoothd

Nov 26 08:12:54 HiFiBerry bluetoothd[1252]: Bluetooth daemon 5.50
Nov 26 08:12:54 HiFiBerry systemd[1]: Started Bluetooth service.
Nov 26 08:12:54 HiFiBerry bluetoothd[1252]: Starting SDP server
Nov 26 08:12:54 HiFiBerry bluetoothd[1252]: Bluetooth management interface 1.14 initialized
Nov 26 08:12:54 HiFiBerry bluetoothd[1252]: Player registered: sender=:1.42 path=/_1_25
Nov 26 08:12:54 HiFiBerry bluetoothd[1252]: Player registered: sender=:1.42 path=/_1_16
Nov 26 08:12:54 HiFiBerry bluetoothd[1252]: Player registered: sender=:1.42 path=/_1_19
Nov 26 08:12:54 HiFiBerry bluetoothd[1252]: Player registered: sender=:1.42 path=/_1_18
Nov 26 08:12:59 HiFiBerry bluetoothd[1252]: Endpoint registered: sender=:1.64 path=/hci0/A2DP/MPEG24/Sink/1
Nov 26 08:12:59 HiFiBerry bluetoothd[1252]: Endpoint registered: sender=:1.64 path=/hci0/A2DP/SBC/Sink/1

I want to set the HiFiBerry as the sound output device of my TV, but it doesn't pair and connect. Works fine on my Android device though. The TV is a Samsung Q70R. What can I do to resolve this?
IMG_20191126_092512
IMG_20191126_092518
IMG_20191126_092523
IMG_20191126_092553

Login

I want to run this in a headless setup, but I cannot login via SSH.
What is the username/passwd?

thanks in advance

instalation issue (may be)

Hi,

I have flashed the RPi4 image (on 2 different SDs) and started the Pi. The Pi's LED was blinking for some time, then stopped. I have tried to reach the server by the assigned IP, as I have a couple of other Pi servers and http://HiFiBerry.local wasn't working for me, but "The connection has timed out". I don't have a screen and I don't plan to buy one any time soon. I am using the Volumio image without issues in the same configuration - RPi4 and HiFiBerry DAC+ HW 2.3

How should I proceed if I want to try your OS?

Thanks
Viktor

20200330: Update from UI not available.

I wanted to do a manual update from the WebUI (in order to keep my settings), but "General" -> "Software Update" shows "No updates are currently available".

I'm on 20200330 - according to GitHub releases page there should be 20200403 and 20200424 available.
Bildschirmfoto 2020-04-28 um 20 37 13

Airplay dropping

I connect my hifiberry to my network via wifi, and have been experiencing drops in the sound playback. I initially believed this was caused by bad wifi as I was using my ISP provided router. I just ordered a Ubiquiti Amplifi HD router however, and even placed it much closer to the raspberry pi. I'm still getting signal drops however.

My computer connection to the router seems fine, and so does the hifiberry connection. Both report back strong signals, and the router should be plenty capable of handling audio streaming, especially with only 3 devices connected.

Can you give me any advice re how to diagnose this?

DSPToolkit fails to install profile

DSPToolkit can fail to install a DSP profile without showing an error.

sigmatcpserver output will look like this:

ERROR:root:couldn't find program end signature, something is wrong with the DSP program memory
ERROR:root:Can't calculate checksum from None

RPi 3B and AMP+ in boot loop

I etched an SD with HIFIBerry OS and booted it on a RPi 3B with an AMP+.

At the first boot it stopped after 2 min and I couldn't access the RPI via the WIFI AP (didn't tried an ethernet cable yet).

I then disconnected it then from the power and plugged it in again. At first it tried to activate the AMP+ (green light which didn't showed up during the very first boot) with a loud crackle noise from the loudspeakers.

30 sec in shut down as if there was too much power drawn and tried to boot again. And now it seems it's stuck in that loop. Power up, load a bit, crackle, shut down, power up, load a bit, crackle....

Any idea what might that be?

No sound since release 20200327.

Hi

I have a HiFiBerry Digi+ Pro on a Raspberry Pi 3 Model B Rev 1.2 (connected via OPT to some Nubert active speakers if that's relevant) which worked fine under HiFiBerry OS 20200226.

Since the update I cannot hear any music. Using Roon it's hard enough to get the stream starting (sometimes it works, sometimes not). Volume fixed or not makes no difference. Same when I try to play from Roon but via AirPlay.

From iPhone via AirPlay usually starts streaming, but still no sound (Volume full throttle).

Something broken in the new release?

Thanks in advance & regards,
Losty

Allow setting a Bluetooth PIN

Hi,

I'd like to leave my HiFiBerryOS device in always-discoverable mode, but with a user-settable PIN to guard against unauthorised pairings.

I intend to try to learn about BlueZ and all the underlying bits & pieces so I can contribute a PR. But in the meantime, if someone more familiar with the BlueZ/BlueALSA stack wants to take a look, that'd be great!

Unable to turn on Bluetooth on Raspberry 4

When I try to enable bluetooth in the user interface it doenst work.
I'm ussing a fresh image and tried by flashing several times and still not working.
I'm ussing a raspberry pi 4
Thanks!

airplay

airplay don't work with the last version of HiFiBerry OS
airplay is visible, but no sound
(pi3 & amp+)

spotifyd error : spotifyd: /lib/libasound.so.2: no version information available (required by spotifyd)

This error happens when the user tries several times to configure spotify source with release 25.02.2020 because /etc/spotifyd.conf is appended at each trial instead of been replaced.

To resolve : remove the file /etc/spotifyd.conf and configure it again through the standard page

Log :
spotifyd: /lib/libasound.so.2: no version information available (required by spotifyd)
spotifyd: /lib/libasound.so.2: no version information available (required by spotifyd)
thread 'main' panicked at 'called Result::unwrap() on an Err value: Custom("duplicate field global")', src/libcore/result.rs:1165:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

Roon “source” disappeared in Pi A+

Hi, after upgrade to latest build 20200424 the Roon “source” disappears. Reverting to previous version fix the problem, going again to 20200424 and the problem is still there.
Pi3 ++ Hifiberry DAC+Pro

RP3b+AMP2 - Digital volume spikes during playback for a fraction of a second

I have two RP3b+AMP2 with one speaker each (R, L) with LMS in sync. During LMS playback, audio volume spikes occur, which are quite annoying. Sometimes not for hours, sometimes multiple times a minute. In alsamixer, Digital volume will increase from e.g. 20 to 36 and back within one second. My assumption is that another application is attempting to set the volume but is overwritten by squeezelite again, but I could not figure out which one. I turned off all the other applications in hifiberry.conf, it had no effect.

# cat /etc/hifiberry.conf
system_name="HiFiBerry"

wifi_ssid=NETWORK
wifi_psk=NETPASS
wifi_country=DE
wifi_enable=1

spotify_enable=0
spotify_user=user
spotify_password=pass

airplay_enable=0

roon_enable=0

squeezebox_enable=1

bluetooth_enable=0

sound_initialvolume="30%"

auto_pause=0

scrobbler_network=librefm
scrobbler_apikey=hifiberryos
scrobbler_apisecret=hifiberryiscool
scrobbler_username=myuser
scrobbler_password=mypassword

The problem was circumvented by letting squeezelite use software volume rather than giving it access to Digital.

# vi /usr/lib/systemd/system/squeezelite.service
ExecStart=/usr/bin/squeezelite -o default -M HiFiBerry -N /var/squeezelite/squeezelite.name
# systemctl daemon-reload
# systemctl restart squeezelite

Digital is now set to 100% at all times and no further spikes occurred. For my use case (as I use LMS exclusively) it's fine this way.

Is there any quality downside for lettings squeezelite handle the volume in software rather than the Digital output directly?

Spotify volume control broker after restart

After restarting the system, spotify volume control isn't working (with Beocreate 4 channel amplifier)
Changing volume via alsamixer works, but not via the Spotify client

Spotify will not play overnight.

I use the HifiBerry RPi4 with the DAC+DSP and HiFiBerry OS. I play music overnight to sleep, but in the morning, it is never playing. I'm not sure how long it plays. I have a Chromecast Audio that I used to use for this purpose and it could play overnight, so I don't believe it is a problem with the Spotify phone app. Perhaps a timeout setting?

Radio Playback Issues

Hi,

works great, love it brought my aging but fairly good HiFi back to life.

One slight bug, I think, is that using the web interface I start the radio playing (Radio Caroline of course). Then when the phone screen blanks the radio stops playing. The radio is not using blue tooth.

Rebooting while radio playing, restarts the HiFi Berry with the radio playing and will continue to play when phone goes to standby.

Thanks

Martyn

Support for infrared (IR) sensors

Hi! First of all, thank you for such an amazing piece of software. The experience is really polished!

Currently I have a RPi + BeoCreate board which is connected to a TV via TOSLINK. This TV also has a Nvidia Shield hooked up via HDMI. Unfortunately, the only way to control the volume using the Shield remote seems to be infrared (apart from Bluetooth, but my Pi is a 3B).

  • Is there a way to configure LIRC using the standard build of HiFiBerryOS?
  • If not, should I create an audiocontrol2 plugin, a custom build of HiFiBerryOS or both? Is there a way to integrate this functionality and make OTA updates not delete it?
  • Are you considering adding support for IR in a similar way as the rotary controller from audiocontrol2? I can also look into making a PR into audiocontrol2 for this if I have the time.

Thanks again for everything!

Something broken after 20200327

After the update to 20200327 my DAC Pro is not coming up anymore, seems like a problem with network. Strangely, if I connect an hdmi monitor everything works... slower, but it comes up.
Also, as reported by another user, the log collection doesn’t work.

Web interface not working (new SD)

I have two pi4 with DiGi+, updated both today and one went through absolutely fine, but the other didn't take. The one that fail was visible in Roon, but streaming would only happen for about 10 seconds and it'd just die and disappear from Roon. It will only reappear after a re-start but still could not stream for more than 10 seconds or so.

For the one that failed, I downloaded the image from the website and proceeded a 'clean' install.

This sadly didn't work. Tried with 2 different cards and unzipped using the 'normal' windows tool and 7-zip. No difference. I can actually stream to it in Roon fine and it does not die after a while but the GUI does not load at all. I get a grey screen with "next step" on the bottom left-hand corner which I cannot click as it is greyed out.

Annotation 2019-12-19 232631

Please help.

Unable to control volume @ optical input on Rasberry4

Hi,
I am a user of beocreate4CA and hifiberryOS(20200403). It's a really great music player. When I use Rasberry3B. Everything is OK.
But when I change to Rasberry4B there are some errors.

  • Can't control the main volume @ optical input (I can control volume in volume limit. Other sources are OK.)
  • the main volume is less loud then rasberry3. Rasberry3 is good level @50 but Rasberry4 is good @90
    How can I solve these issures?
    Thanks in advance!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.