Snapcast & Hifiberry Digi issue

  • Hi all,

    I am currently trying to install snapcast. It just works during installation session. After reboot Hifiberry is not available as audiodevice ..

    Does someuse the same combination ... any hints what I can try?

    Thank's in advance,

    Franny

  • Hi all,

    I am currently trying to install snapcast. It just works during installation session. After reboot Hifiberry is not available as audiodevice ..

    Does someuse the same combination ... any hints what I can try?

    Thank's in advance,

    Franny

    Please provide the output of the following commands:

    aplay -L

    journalctl -u service.snapclient

  • Hi,

    thanks ...

    here is output of apaly -L (after inastallation / activation of SNAPCLIENT and "multi" reboot")

    null

    Discard all samples (playback) or generate zero samples (capture)

    default:CARD=sndrpihifiberry

    snd_rpi_hifiberry_amp,

    Default Audio Device

    sysdefault:CARD=sndrpihifiberry

    snd_rpi_hifiberry_amp,

    Default Audio Device


    Jun 22 13:11:56 WOHNZIMMERamp systemd[1]: Started Snapclient.

    Jan 02 12:26:37 WOHNZIMMERamp snapclient[626]: Connected to 192.168.2.27

    Jan 02 12:26:37 WOHNZIMMERamp sh[602]: metadata:{"STREAM":"Spotify","TITLE":"La Fille Sans Larmes"}

    Jan 02 12:26:39 WOHNZIMMERamp snapclient[626]: Exception in Controller::worker(): Can't open sysdefault:CARD=sndrpihifiberry PCM device: D

    Jan 02 12:26:40 WOHNZIMMERamp snapclient[626]: Connected to 192.168.2.27

    Jan 02 12:26:41 WOHNZIMMERamp sh[602]: metadata:{"STREAM":"Spotify","TITLE":"The Sum Of All Things"}

    Jan 02 12:26:43 WOHNZIMMERamp snapclient[626]: Exception in Controller::worker(): Can't open sysdefault:CARD=sndrpihifiberry PCM device: D

    Jan 02 12:26:44 WOHNZIMMERamp snapclient[626]: Connected to 192.168.2.27

    Jan 02 12:26:44 WOHNZIMMERamp sh[602]: metadata:{"STREAM":"Spotify","TITLE":"The Sum Of All Things"}

    Jan 02 12:26:46 WOHNZIMMERamp snapclient[626]: Exception in Controller::worker(): Can't open sysdefault:CARD=sndrpihifiberry PCM device: D

    Jan 02 12:26:47 WOHNZIMMERamp snapclient[626]: Connected to 192.168.2.27

    Jan 02 12:26:47 WOHNZIMMERamp sh[602]: metadata:{"STREAM":"Spotify","TITLE":"The Sum Of All Things"}

    Jan 02 12:26:49 WOHNZIMMERamp snapclient[626]: Exception in Controller::worker(): Can't open sysdefault:CARD=sndrpihifiberry PCM device: D

    Jan 02 12:26:50 WOHNZIMMERamp snapclient[626]: Connected to 192.168.2.27

    Jan 02 12:26:50 WOHNZIMMERamp sh[602]: metadata:{"STREAM":"Spotify","TITLE":"The Sum Of All Things"}

    Jan 02 12:26:52 WOHNZIMMERamp snapclient[626]: Exception in Controller::worker(): Can't open sysdefault:CARD=sndrpihifiberry PCM device: D

    Jan 02 12:26:53 WOHNZIMMERamp snapclient[626]: Connected to 192.168.2.27

    Jan 02 12:26:53 WOHNZIMMERamp sh[602]: metadata:{"STREAM":"Spotify","TITLE":"The Sum Of All Things"}

    Jan 02 12:26:55 WOHNZIMMERamp snapclient[626]: Exception in Controller::worker(): Can't open sysdefault:CARD=sndrpihifiberry

    .....


    Jan 02 12:27:53 WOHNZIMMERamp sh[602]: metadata:{"STREAM":"Spotify","TITLE":"The Sum Of All Things"}

    Jan 02 12:27:55 WOHNZIMMERamp snapclient[626]: Exception in Controller::worker(): Can't open sysdefault:CARD=sndrpihifiberry PCM device: D

    Jan 02 12:27:56 WOHNZIMMERamp snapclient[626]: Connected to 192.168.2.27

    Jan 02 12:27:56 WOHNZIMMERamp sh[602]: metadata:{"STREAM":"Spotify","TITLE":"The Sum Of All Things"}

    Jan 02 12:27:58 WOHNZIMMERamp snapclient[626]: Exception in Controller::worker(): Can't open sysdefault:CARD=sndrpihifiberry PCM device: D

    Jan 02 12:27:59 WOHNZIMMERamp snapclient[626]: Connected to 192.168.2.27

    Jan 02 12:27:59 WOHNZIMMERamp sh[602]: metadata:{"STREAM":"Spotify","TITLE":"The Sum Of All Things"}

    Jan 02 12:28:18 WOHNZIMMERamp snapclient[626]: Received SIGTERM signal.

    Jan 02 12:28:18 WOHNZIMMERamp systemd[1]: Stopping Snapclient...

    Jan 02 12:28:18 WOHNZIMMERamp snapclient[626]: Received SIGTERM signal.

    Jan 02 12:28:18 WOHNZIMMERamp snapclient[626]: daemon terminated.

    Jan 02 12:28:18 WOHNZIMMERamp systemd[1]: Stopped Snapclient.

    Jan 02 12:28:29 WOHNZIMMERamp systemd[1]: Started Snapclient.

    Jan 02 12:28:29 WOHNZIMMERamp snapclient[800]: Connected to 192.168.2.27

    Jan 02 12:28:29 WOHNZIMMERamp sh[793]: metadata:{"STREAM":"Spotify","TITLE":"The Sum Of All Things"}

    Jan 02 12:28:31 WOHNZIMMERamp snapclient[800]: Exception in Controller::worker(): Can't open sysdefault:CARD=sndrpihifiberry PCM device: D

    Jan 02 12:28:32 WOHNZIMMERamp snapclient[800]: Connected to 192.168.2.27

    Jan 02 12:28:32 WOHNZIMMERamp sh[793]: metadata:{"STRE

    ====================================================================

    Conclusion:

    In the meanwhile it seems to work ....

    Solution: I configured in SnapClient Add On settings that Soundcard to SYSDEFAULT and that Kodi stops SNAPCLIENT during playback


    Do you have further hints for improvement or stabilization?

    Thank's anyway!

    Regards, Franny

  • Hi,

    have to get back on this ...

    Actually still have issues ..

    SNAPCLIENT is stable working ... but I can't select HifiBerry ALSA Device in KODI System Audio settings .. there are only the RPi devices like analog and HDMI. When I deactivate SNAPCLIENT Add-On ... ALSA Device is immeidately available in KODI settings ...

    Any hints what I can try ... ?

    Thank's in advance, Franny

  • Hi Awiouy,

    tried to test the HIFI berry recommendation ... but struggeld with "read only" mode form libreelec ...

    Anything you found out?

    Thank's in advance,

    Franny

  • Hi Awiouy,

    tried to test the HIFI berry recommendation ... but struggeld with "read only" mode form libreelec ...

    Anything you found out?

    Thank's in advance,

    Franny

    Hello franny73,

    Sorry for the late reply, but I have been busy elsewhere.

    Nevertheless, I have good news: I have managed to use a HiFiBerry DAC+ with both Kodi and Snapclient.

    Here is how I have done:

    1. I used the command mount -o remount,rw /flash; nano /flash/config.txt) to add the following line to /flash/config.txt:

    Code
    dtoverlay=hifiberry-dacplus

    2. I rebooted for the changes to take effect

    3. I used the command nano /storage/.config/asound.conf to create the following asound.conf:

    4. I configured Kodi (Settings/Audio/Audio output device) to use ALSA:snd_rpi_hifiberry_dacplus, Analog

    5. I configured Snapclient to use shared_hifiberry

    6. For good measure I rebooted again

    You want to adapt step 1 to your card.

    Let me know if the above works for you.