Hello brot
I am not sure what is happening on your system.
Could you provide the output of 'pactl list modules short', to check that the addon has correctly set up pulseaudio.
Hi awiouy - sorry for the delay!
enclosed please find the requested output.
Greetings!
I disabled discovery & autoplay in the addon-options and tried to start librespot again. Unfortunately that didnt work either.
kodi.log: hastebin
journal: hastebin
EDIT2:
alsa backend works without any issues. I just can't see any album art with the new version - is that normal?
Why is "--disable-audio-cache" always set as default in all versions? Shouldnt caching speedup the whole thing?
htpc:/var/media/sda-ata-ST2000LM003_HN-M # librespot --backend alsa --bitrate 320 --cache /tmp --device-type avr --name "librespot" --enable-volume-normalisation --autoplay --notify-kodi --device 'hdmi:CARD=PCH,DEV=0'
[2020-05-13T14:51:05Z INFO librespot] librespot 6ddd9501b5 (2020-05-03). Built on 2020-05-05. Build ID: Jtn2PGDd
[2020-05-13T14:51:05Z INFO librespot_core::session] Connecting to AP "gew1-accesspoint-c-1wc3.ap.spotify.com:4070"
[2020-05-13T14:51:11Z INFO librespot_connect::spirc] Autoplay uri resolved to <"spotify:station:user:spotify:playlist:37i9dQZF1E36lrEPn17hC7">
EDIT3:
If I start another addon after started librespot with alsa backend and I want to switch back to librespot, librespot crashes with the following error:
Alsa error PCM open ALSA function 'snd_pcm_open' failed with error 'EBUSY: Device or resource busy'
May 14 12:28:59 htpc librespot[14417]: [2020-05-14T10:28:59Z ERROR librespot_playback::audio_backend::alsa] Alsa error PCM open ALSA function 'snd_pcm_open' failed with error 'EBUSY: Device or resource busy'
May 14 12:28:59 htpc librespot[14417]: [2020-05-14T10:28:59Z ERROR librespot_playback::player] Could not start audio: Alsa error: PCM open failed
May 14 12:28:59 htpc librespot[14417]: [2020-05-14T10:28:59Z ERROR librespot_playback::audio_backend::alsa] Alsa error PCM open ALSA function 'snd_pcm_open' failed with error 'EBUSY: Device or resource busy'
Is there any way to fix that?
And how can I integrate librespot with alsa backend into kodi? Even with "--notify-kodi" I can't see any information in kodi while librespot is running (album cover, playback buttons, etc)