- Official Post
Can anyone test if this fixes for LE 8.2 on RPi2.
I am building the same for LE 9.0.
Can anyone test if this fixes for LE 8.2 on RPi2.
I am building the same for LE 9.0.
i have test it on Kodi 17 Libreelec 8.2.2.3
it works :-), i have tested 1 song.
Thanks for the fast update.
This should fix for LE 9.0 on RPi2
I have submitted the fix at github.
Ok, LibreSpot now starts up, but I cannot always connect from our android spotify app. Log:
Feb 27 17:53:46 poecadeau systemd[1]: Started librespot.
Feb 27 17:53:46 poecadeau sh[594]: INFO:librespot: librespot 83282b6 (2017-12-07). Built on 2017-12-07. Build ID: lUgmv2c5
Feb 27 17:53:47 poecadeau sh[594]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
Feb 27 17:53:47 poecadeau sh[594]: *** WARNING *** Please fix your application to use the native API of Avahi!
Feb 27 17:53:47 poecadeau sh[594]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=librespot>
Feb 27 17:53:47 poecadeau librespot[629]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
Feb 27 17:53:47 poecadeau librespot[629]: *** WARNING *** Please fix your application to use the native API of Avahi!
Feb 27 17:53:47 poecadeau librespot[629]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=librespot>
Feb 27 17:53:47 poecadeau sh[594]: INFO:librespot_core::session: Connecting to AP "gew1-accesspoint-b-mcmc.ap.spotify.com:4070"
Feb 27 17:53:47 poecadeau sh[594]: INFO:librespot_core::session: Authenticated as "...[removed]..." !
Feb 27 17:53:47 poecadeau sh[594]: INFO:librespot_core::session: Country: "NL"
Feb 27 17:53:47 poecadeau sh[594]: WARN:librespot_core::mercury: error 503 for uri hm://remote/3/user/dw8el6m21ysqnhucnr16p11i1/
Feb 27 17:53:47 poecadeau sh[594]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: MercuryError', /checkout/src/libcore/result.rs:860:4
Feb 27 17:53:47 poecadeau sh[594]: note: Run with `RUST_BACKTRACE=1` for a backtrace.
Feb 27 17:53:47 poecadeau systemd[1]: service.librespot.service: Main process exited, code=exited, status=101/n/a
Feb 27 17:53:47 poecadeau systemd[1]: service.librespot.service: Unit entered failed state.
Feb 27 17:53:47 poecadeau systemd[1]: service.librespot.service: Failed with result 'exit-code'.
Feb 27 17:53:48 poecadeau systemd[1]: service.librespot.service: Service hold-off time over, scheduling restart.
Feb 27 17:53:48 poecadeau systemd[1]: Stopped librespot.
Feb 27 17:53:48 poecadeau systemd[1]: Started librespot.
Feb 27 17:53:48 poecadeau sh[642]: INFO:librespot: librespot 83282b6 (2017-12-07). Built on 2017-12-07. Build ID: lUgmv2c5
Feb 27 17:53:48 poecadeau sh[642]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
Feb 27 17:53:48 poecadeau sh[642]: *** WARNING *** Please fix your application to use the native API of Avahi!
Feb 27 17:53:48 poecadeau sh[642]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=librespot>
Feb 27 17:53:48 poecadeau librespot[656]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
Feb 27 17:53:48 poecadeau librespot[656]: *** WARNING *** Please fix your application to use the native API of Avahi!
Feb 27 17:53:48 poecadeau librespot[656]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=librespot>
Feb 27 17:53:48 poecadeau sh[642]: INFO:librespot_core::session: Connecting to AP "gew1-accesspoint-b-ng9h.ap.spotify.com:4070"
Feb 27 17:53:48 poecadeau sh[642]: INFO:librespot_core::session: Authenticated as "dw8el6m21ysqnhucnr16p11i1" !
Feb 27 17:53:48 poecadeau sh[642]: INFO:librespot_core::session: Country: "NL"
Feb 27 17:54:38 poecadeau sh[642]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: WireError(InvalidEnumValue(13))', /checkout/src/libcore/result.rs:860:4
Feb 27 17:54:38 poecadeau sh[642]: note: Run with `RUST_BACKTRACE=1` for a backtrace.
Feb 27 17:54:38 poecadeau systemd[1]: service.librespot.service: Main process exited, code=exited, status=101/n/a
Feb 27 17:54:38 poecadeau systemd[1]: service.librespot.service: Unit entered failed state.
Feb 27 17:54:38 poecadeau systemd[1]: service.librespot.service: Failed with result 'exit-code'.
Feb 27 17:54:38 poecadeau systemd[1]: service.librespot.service: Service hold-off time over, scheduling restart.
Feb 27 17:54:38 poecadeau systemd[1]: Stopped librespot.
Feb 27 17:54:38 poecadeau systemd[1]: Started librespot.
Feb 27 17:54:38 poecadeau sh[754]: INFO:librespot: librespot 83282b6 (2017-12-07). Built on 2017-12-07. Build ID: lUgmv2c5
Feb 27 17:54:38 poecadeau sh[754]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
Feb 27 17:54:38 poecadeau sh[754]: *** WARNING *** Please fix your application to use the native API of Avahi!
Feb 27 17:54:38 poecadeau sh[754]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=librespot>
Feb 27 17:54:38 poecadeau librespot[768]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
Feb 27 17:54:38 poecadeau librespot[768]: *** WARNING *** Please fix your application to use the native API of Avahi!
Feb 27 17:54:38 poecadeau librespot[768]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=librespot>
Feb 27 17:54:38 poecadeau sh[754]: INFO:librespot_core::session: Connecting to AP "gew1-accesspoint-b-6k5g.ap.spotify.com:4070"
Feb 27 17:54:39 poecadeau sh[754]: INFO:librespot_core::session: Authenticated as "dw8el6m21ysqnhucnr16p11i1" !
Feb 27 17:54:39 poecadeau sh[754]: INFO:librespot_core::session: Country: "NL"
Feb 27 17:54:41 poecadeau sh[754]: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: WireError(InvalidEnumValue(13))', /checkout/src/libcore/result.rs:860:4
Feb 27 17:54:41 poecadeau sh[754]: note: Run with `RUST_BACKTRACE=1` for a backtrace.
Feb 27 17:54:41 poecadeau systemd[1]: service.librespot.service: Main process exited, code=exited, status=101/n/a
Feb 27 17:54:42 poecadeau systemd[1]: service.librespot.service: Unit entered failed state.
Feb 27 17:54:42 poecadeau systemd[1]: service.librespot.service: Failed with result 'exit-code'.
Feb 27 17:54:42 poecadeau systemd[1]: service.librespot.service: Service hold-off time over, scheduling restart.
Feb 27 17:54:42 poecadeau systemd[1]: Stopped librespot.
Feb 27 17:54:42 poecadeau systemd[1]: Started librespot.
Feb 27 17:54:42 poecadeau sh[780]: INFO:librespot: librespot 83282b6 (2017-12-07). Built on 2017-12-07. Build ID: lUgmv2c5
Feb 27 17:54:42 poecadeau sh[780]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
Feb 27 17:54:42 poecadeau sh[780]: *** WARNING *** Please fix your application to use the native API of Avahi!
Feb 27 17:54:42 poecadeau sh[780]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=librespot>
Feb 27 17:54:42 poecadeau librespot[794]: *** WARNING *** The program 'librespot' uses the Apple Bonjour compatibility layer of Avahi.
Display More
thanks for me works again Kodi 18 RPI 3,
But with some glitch, I have to enter configure time by time for it to work again.
Hi,
Stupid question maybe:
Is it possible to change the displayed name in Spotify Connect to just display the name of the Kodi installation
Now it is 'Librespot@KODI' but i would like it to just display 'KODI'
Thanks in advance
Hi, is ther an build for x86 Devices ?
Thanks
I'm not fully sure, but my thing seems to be qorking again with the 8.2.110 update.
However, I was quite confused with the new "initial audio level" setting. 50% is quite low.
What is the purpose of the setting?
Hi, is ther an build for x86 Devices ?
Thanks
Revision 110 of the addon should be available now.
I'm not fully sure, but my thing seems to be qorking again with the 8.2.110 update.
However, I was quite confused with the new "initial audio level" setting. 50% is quite low.
What is the purpose of the setting?
Before that setting, librespot initial volume was 100%, which could be undesirably loud.
You can set the initial volume in the settings of the addon.
Hi,
Stupid question maybe:
Is it possible to change the displayed name in Spotify Connect to just display the name of the Kodi installationNow it is 'Librespot@KODI' but i would like it to just display 'KODI'
Thanks in advance
You can change that line in /storage/.kodi/addons/service.librespot/bin/librespot.start, but I will not update the addon (render unto Librespot the things that are Librespot's)
Revision 110 of the addon should be available now.
Hello Anton, thanks for your help. But i still only see Verion 9.0.107.
Hello Anton, thanks for your help. But i still only see Verion 9.0.107.
Check for updates in addon manager
For who is interested: Snapcast!
I like and use the librespot addon often.
Recently I changed the libreelec Version on my M8spro+ Android box and installed 8.90.4 (9.0).
The librespot Version from Libreelec repo is 9.0.1.109
But this Version does not work anymore. It is seen as available device if I start Spotify on my handy. It tries to connect for some seconds but doesn´t.
In kodi.log it says that it can not load value="hdmi:CARD=AMLM8AUDIO,DEV=0"
WARNING: CAddonSettings[service.librespot]: failed to load value "hdmi:CARD=AMLM8AUDIO,DEV=0" for setting ls_o
So I went back to version 8.2.110 from backup. This version is still doing the job!
this is my alsa device :
Device 2
13:11:13.271 T:4098379776 NOTICE: m_deviceName : hdmi:CARD=AMLM8AUDIO,DEV=0
13:11:13.271 T:4098379776 NOTICE: m_displayName : AML-M8AUDIO
13:11:13.271 T:4098379776 NOTICE: m_displayNameExtra: HDMI
13:11:13.271 T:4098379776 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
13:11:13.271 T:4098379776 NOTICE: m_channels : FL,FR,BL,BR,FC,LFE,SL,SR
13:11:13.271 T:4098379776 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
13:11:13.271 T:4098379776 NOTICE: m_dataFormats : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW
13:11:13.271 T:4098379776 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD
Can you fix this please.
Display MoreI like and use the librespot addon often.
Recently I changed the libreelec Version on my M8spro+ Android box and installed 8.90.4 (9.0).
The librespot Version from Libreelec repo is 9.0.1.109
But this Version does not work anymore. It is seen as available device if I start Spotify on my handy. It tries to connect for some seconds but doesn´t.
In kodi.log it says that it can not load value="hdmi:CARD=AMLM8AUDIO,DEV=0"
WARNING: CAddonSettings[service.librespot]: failed to load value "hdmi:CARD=AMLM8AUDIO,DEV=0" for setting ls_o
So I went back to version 8.2.110 from backup. This version is still doing the job!
this is my alsa device :
Device 2
13:11:13.271 T:4098379776 NOTICE: m_deviceName : hdmi:CARD=AMLM8AUDIO,DEV=0
13:11:13.271 T:4098379776 NOTICE: m_displayName : AML-M8AUDIO
13:11:13.271 T:4098379776 NOTICE: m_displayNameExtra: HDMI
13:11:13.271 T:4098379776 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
13:11:13.271 T:4098379776 NOTICE: m_channels : FL,FR,BL,BR,FC,LFE,SL,SR
13:11:13.271 T:4098379776 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
13:11:13.271 T:4098379776 NOTICE: m_dataFormats : AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW
13:11:13.271 T:4098379776 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD
Can you fix this please.
Addon revision 109 is outdated and does not work anymore. Addon revision has been merged but not built yet for LibreELEC 9.0. You have several options: wait for revision 110 on LibreELEC 9.0, downgrade to LibreELEC 8.2, or build the addon yourself.
Hi awiouy, first of all - thank you for your work on the addon!
As you mentioned, 109 is now outdated, and 110 has not been built yet for LE9. I'm an avid user, so I went to figure out how to configure build env, but I'm afraid I can't meet the requirements right now (decent CPU, 4 GB RAM, 20-25 GB SSD, Linux installed). If you have the build env ready, would you care to build the plugin for us, RPi2 users, and provide it here?
I'm sure I'm not the only one who would be most grateful
Hi awiouy, first of all - thank you for your work on the addon!
As you mentioned, 109 is now outdated, and 110 has not been built yet for LE9. I'm an avid user, so I went to figure out how to configure build env, but I'm afraid I can't meet the requirements right now (decent CPU, 4 GB RAM, 20-25 GB SSD, Linux installed). If you have the build env ready, would you care to build the plugin for us, RPi2 users, and provide it here?
I'm sure I'm not the only one who would be most grateful