raph2i / hassio-addons

some Hass.IO Addons
Other
14 stars 47 forks source link

snapcast-client stopped working #4

Closed katsaplias closed 4 years ago

katsaplias commented 4 years ago

thanks for your addons, great work I noticed that snapcast-client stopped working, probably after the upgrade on the release #9

this is what I get when I connect to my snapcast server: metadata:{"STREAM":"Volumio-MPD"} 2020-05-03 22-04-52 [Info] Codec: flac 2020-05-03 22-04-52 [Notice] sampleformat: 48000:16:2 ALSA lib dlmisc.c:283:(snd_dlobj_cache_get0) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so ((null): Error loading shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so: No such file or directory) 2020-05-03 22-04-52 [Err] Controller::onException: Can't open default PCM device: No such device or address 2020-05-03 22-04-54 [Warn] timeout while waiting for response to: 730, timeout 2000 2020-05-03 22-04-54 [Err] Exception in Controller::worker(): Can't open default PCM device: No such device or address 2020-05-03 22-04-55 [Notice] Connected to 10.251.107.65 2020-05-03 22-04-55 [Info] My MAC: "02:42:ac:1e:21:0a", socket: 5 2020-05-03 22-04-55 [Info] ServerSettings - buffer: 1000, latency: 0, volume: 100, muted: 0

there is also an open issue about this: https://github.com/home-assistant/plugin-audio/issues/12

BTScroggs commented 4 years ago

Had the same error. To be able to use HA audio this command needs running: apk add alsa-plugins-pulse

This fork has the change made https://github.com/micronen/hassio-addons/commit/4c43af25a7cd19596f21f8faa0521932f00731d9

katsaplias commented 4 years ago

I'm using HassOS on a NUC machine not the linux install, is it possible to run this command and how?