![](https://forum.libreelec.tv/core/images/avatars/77/98-779d62d5e296b816ca5e545c97065a6aa325a451.jpeg)
Librespot Add-on
-
awiouy -
May 18, 2017 at 11:04 PM -
Thread is Unresolved
-
-
Thank You.
So we waiting for a Solution
-
Hey guys,
after updating librespot to the newest version 9.80.3.123 it doesn't start anymore.
Iam using the latest milhouse release #0430 with an Intel NUC7PJYH. The previous version works without any issues.
If I try to start the addon, I get the following error message:
Code
Display More2020-05-06 20:00:07.844 T:1332 DEBUG <general>: CAddonMgr: enabled service.librespot 2020-05-06 20:00:07.845 T:1894 DEBUG <general>: CBinaryAddonManager::EnableEvent: Enable addon 'service.librespot' on binary addon manager 2020-05-06 20:00:07.847 T:1894 DEBUG <general>: CServiceAddonManager: starting service.librespot 2020-05-06 20:00:07.848 T:1898 DEBUG <general>: Thread LanguageInvoker start, auto delete: false 2020-05-06 20:00:07.848 T:1898 INFO <general>: initializing python engine. 2020-05-06 20:00:07.848 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): start processing 2020-05-06 20:00:07.859 T:1332 DEBUG <general>: CGUIMediaWindow::GetDirectory (addons://user/all) 2020-05-06 20:00:07.859 T:1332 DEBUG <general>: ParentPath = [addons://user/all] 2020-05-06 20:00:07.860 T:1899 DEBUG <general>: Thread waiting start, auto delete: false 2020-05-06 20:00:07.862 T:1899 DEBUG <general>: CAddonDatabase: SELECT repo.id FROM repo .. took 0 ms 2020-05-06 20:00:07.867 T:1899 DEBUG <general>: CAddonDatabase: query SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (38,157,236,549,587,606,622,632,634,635,636) ORDER BY addons.addonID returned 913 rows in 5 ms 2020-05-06 20:00:07.869 T:1898 DEBUG <general>: -->Python Interpreter Initialized<-- 2020-05-06 20:00:07.869 T:1898 DEBUG <general>: 2020-05-06 20:00:07.869 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): the source file to load is "/storage/.kodi/addons/service.librespot/default.py" 2020-05-06 20:00:07.915 T:1899 DEBUG <general>: CAddonDatabase::GetAddons took 52 ms 2020-05-06 20:00:07.917 T:1899 DEBUG <general>: CAddonMgr::GetAvailableUpdates took 55 ms 2020-05-06 20:00:07.920 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): setting the Python path to /storage/.kodi/addons/service.librespot:/storage/.kodi/addons/script.module.certifi/lib:/storage/.kodi/addons/script.module.chardet/lib:/storage/.kodi/addons/script.module.idna/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/script.module.urllib3/lib:/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/lib/python3.7/site-packages:/usr/lib/python3.7/site-packages/gtk-2.0 2020-05-06 20:00:07.920 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): entering source directory /storage/.kodi/addons/service.librespot 2020-05-06 20:00:07.920 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): instantiating addon using automatically obtained id of "service.librespot" dependent on version 3.0.0 of the xbmc.python api 2020-05-06 20:00:07.925 T:1899 DEBUG <general>: Thread waiting 139766305691392 terminating 2020-05-06 20:00:07.930 T:1900 DEBUG <general>: Thread BackgroundLoader start, auto delete: false 2020-05-06 20:00:07.941 T:1900 DEBUG <general>: Thread BackgroundLoader 139765978146560 terminating 2020-05-06 20:00:08.145 T:1898 INFO <general>: Librespot: monitor started 2020-05-06 20:00:08.145 T:1898 DEBUG <CAddonSettings[service.librespot]>: loading setting definitions 2020-05-06 20:00:08.145 T:1898 DEBUG <CAddonSettings[service.librespot]>: trying to load setting definitions from old format... 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: loading setting values 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_D) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_D. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_a) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_a. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_b) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_b. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_m) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_m. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_o) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_o. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_p) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_p. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_u) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_u. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (pcm_3) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting pcm_3. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (bitrate) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (device) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (rtp_dest) was not found. 2020-05-06 20:00:08.147 T:1898 INFO <general>: Librespot: ['librespot', '--backend', 'pulseaudio', '--bitrate', '320', '--cache', 'cache', '--device', 'librespot', '--device-type', 'TV', '--disable-audio-cache', '--name', 'Librespot', '--notify-kodi', '--autoplay'] 2020-05-06 20:00:08.194 T:1898 INFO <general>: Librespot: loaded module-null-sink sink_name=librespot 2020-05-06 20:00:08.200 T:1344 DEBUG <general>: Sink changed 2020-05-06 20:00:08.201 T:1344 DEBUG <general>: Sink appeared 2020-05-06 20:00:08.201 T:1344 DEBUG <general>: Sink removed 2020-05-06 20:00:08.201 T:1346 DEBUG <general>: CActiveAE - device count change event from driver: PULSE 2020-05-06 20:00:08.203 T:1346 DEBUG <general>: PulseAudio: Context authorizing 2020-05-06 20:00:08.203 T:1346 DEBUG <general>: PulseAudio: Context setting name 2020-05-06 20:00:08.203 T:1346 DEBUG <general>: PulseAudio: Context ready 2020-05-06 20:00:08.203 T:1346 WARNING <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail 2020-05-06 20:00:08.204 T:1346 INFO <general>: Found 2 Lists of Devices 2020-05-06 20:00:08.204 T:1346 INFO <general>: Enumerated PULSE devices: 2020-05-06 20:00:08.204 T:1346 INFO <general>: Device 1 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_deviceName : Default 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_displayName : Default 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO) 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_deviceType : AE_DEVTYPE_PCM 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_channels : FL, FR 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_streamTypes : No passthrough capabilities 2020-05-06 20:00:08.204 T:1346 DEBUG <general>: CActiveAE - device count change event from driver: PULSE 2020-05-06 20:00:08.205 T:1346 DEBUG <general>: PulseAudio: Context authorizing 2020-05-06 20:00:08.205 T:1346 DEBUG <general>: PulseAudio: Context setting name 2020-05-06 20:00:08.205 T:1346 DEBUG <general>: PulseAudio: Context ready 2020-05-06 20:00:08.206 T:1346 WARNING <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail 2020-05-06 20:00:08.206 T:1346 INFO <general>: Found 2 Lists of Devices 2020-05-06 20:00:08.206 T:1346 INFO <general>: Enumerated PULSE devices: 2020-05-06 20:00:08.206 T:1346 INFO <general>: Device 1 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_deviceName : Default 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_displayName : Default 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO) 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_deviceType : AE_DEVTYPE_PCM 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_channels : FL, FR 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_streamTypes : No passthrough capabilities 2020-05-06 20:00:08.218 T:1898 INFO <general>: Librespot: loaded module-rtp-send destination_ip=127.0.0.1 port=24642 source=librespot.monitor 2020-05-06 20:00:08.241 T:1344 DEBUG <general>: Sink changed 2020-05-06 20:00:08.242 T:1898 INFO <general>: Librespot: suspended sink 1 2020-05-06 20:00:08.242 T:1908 INFO <general>: Librespot: librespot thread started 2020-05-06 20:00:08.257 T:1908 INFO <general>: Librespot: librespot started 2020-05-06 20:00:08.259 T:1908 INFO <general>: Librespot: [2020-05-06T18:00:08Z INFO librespot] librespot 6ddd9501b5 (2020-05-03). Built on 2020-05-05. Build ID: Jtn2PGDd 2020-05-06 20:00:08.259 T:1908 INFO <general>: Librespot: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("EOF while parsing a value", line: 1, column: 0)', src/libcore/result.rs:1165:5 2020-05-06 20:00:08.283 T:1908 INFO <general>: Librespot: suspended sink 1 2020-05-06 20:00:08.283 T:1908 INFO <general>: Librespot: event panic 1/3 2020-05-06 20:00:08.307 T:1908 INFO <general>: Librespot: suspended sink 1 2020-05-06 20:00:08.307 T:1908 INFO <general>: Librespot: librespot stopped
Anybody got an idea why librespot won't start?
-
- Official Post
Hey guys,
after updating librespot to the newest version 9.80.3.123 it doesn't start anymore.
Iam using the latest milhouse release #0430 with an Intel NUC7PJYH. The previous version works without any issues.
If I try to start the addon, I get the following error message:
Code
Display More2020-05-06 20:00:07.844 T:1332 DEBUG <general>: CAddonMgr: enabled service.librespot 2020-05-06 20:00:07.845 T:1894 DEBUG <general>: CBinaryAddonManager::EnableEvent: Enable addon 'service.librespot' on binary addon manager 2020-05-06 20:00:07.847 T:1894 DEBUG <general>: CServiceAddonManager: starting service.librespot 2020-05-06 20:00:07.848 T:1898 DEBUG <general>: Thread LanguageInvoker start, auto delete: false 2020-05-06 20:00:07.848 T:1898 INFO <general>: initializing python engine. 2020-05-06 20:00:07.848 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): start processing 2020-05-06 20:00:07.859 T:1332 DEBUG <general>: CGUIMediaWindow::GetDirectory (addons://user/all) 2020-05-06 20:00:07.859 T:1332 DEBUG <general>: ParentPath = [addons://user/all] 2020-05-06 20:00:07.860 T:1899 DEBUG <general>: Thread waiting start, auto delete: false 2020-05-06 20:00:07.862 T:1899 DEBUG <general>: CAddonDatabase: SELECT repo.id FROM repo .. took 0 ms 2020-05-06 20:00:07.867 T:1899 DEBUG <general>: CAddonDatabase: query SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (38,157,236,549,587,606,622,632,634,635,636) ORDER BY addons.addonID returned 913 rows in 5 ms 2020-05-06 20:00:07.869 T:1898 DEBUG <general>: -->Python Interpreter Initialized<-- 2020-05-06 20:00:07.869 T:1898 DEBUG <general>: 2020-05-06 20:00:07.869 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): the source file to load is "/storage/.kodi/addons/service.librespot/default.py" 2020-05-06 20:00:07.915 T:1899 DEBUG <general>: CAddonDatabase::GetAddons took 52 ms 2020-05-06 20:00:07.917 T:1899 DEBUG <general>: CAddonMgr::GetAvailableUpdates took 55 ms 2020-05-06 20:00:07.920 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): setting the Python path to /storage/.kodi/addons/service.librespot:/storage/.kodi/addons/script.module.certifi/lib:/storage/.kodi/addons/script.module.chardet/lib:/storage/.kodi/addons/script.module.idna/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/script.module.urllib3/lib:/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/lib/python3.7/site-packages:/usr/lib/python3.7/site-packages/gtk-2.0 2020-05-06 20:00:07.920 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): entering source directory /storage/.kodi/addons/service.librespot 2020-05-06 20:00:07.920 T:1898 DEBUG <general>: CPythonInvoker(16, /storage/.kodi/addons/service.librespot/default.py): instantiating addon using automatically obtained id of "service.librespot" dependent on version 3.0.0 of the xbmc.python api 2020-05-06 20:00:07.925 T:1899 DEBUG <general>: Thread waiting 139766305691392 terminating 2020-05-06 20:00:07.930 T:1900 DEBUG <general>: Thread BackgroundLoader start, auto delete: false 2020-05-06 20:00:07.941 T:1900 DEBUG <general>: Thread BackgroundLoader 139765978146560 terminating 2020-05-06 20:00:08.145 T:1898 INFO <general>: Librespot: monitor started 2020-05-06 20:00:08.145 T:1898 DEBUG <CAddonSettings[service.librespot]>: loading setting definitions 2020-05-06 20:00:08.145 T:1898 DEBUG <CAddonSettings[service.librespot]>: trying to load setting definitions from old format... 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: loading setting values 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_D) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_D. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_a) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_a. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_b) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_b. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_m) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_m. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_o) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_o. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_p) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_p. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (ls_u) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting ls_u. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (pcm_3) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CAddonSettings[service.librespot]>: failed to find definition for setting pcm_3. Creating a setting on-the-fly... 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (bitrate) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (device) was not found. 2020-05-06 20:00:08.146 T:1898 DEBUG <CSettingsManager>: requested setting (rtp_dest) was not found. 2020-05-06 20:00:08.147 T:1898 INFO <general>: Librespot: ['librespot', '--backend', 'pulseaudio', '--bitrate', '320', '--cache', 'cache', '--device', 'librespot', '--device-type', 'TV', '--disable-audio-cache', '--name', 'Librespot', '--notify-kodi', '--autoplay'] 2020-05-06 20:00:08.194 T:1898 INFO <general>: Librespot: loaded module-null-sink sink_name=librespot 2020-05-06 20:00:08.200 T:1344 DEBUG <general>: Sink changed 2020-05-06 20:00:08.201 T:1344 DEBUG <general>: Sink appeared 2020-05-06 20:00:08.201 T:1344 DEBUG <general>: Sink removed 2020-05-06 20:00:08.201 T:1346 DEBUG <general>: CActiveAE - device count change event from driver: PULSE 2020-05-06 20:00:08.203 T:1346 DEBUG <general>: PulseAudio: Context authorizing 2020-05-06 20:00:08.203 T:1346 DEBUG <general>: PulseAudio: Context setting name 2020-05-06 20:00:08.203 T:1346 DEBUG <general>: PulseAudio: Context ready 2020-05-06 20:00:08.203 T:1346 WARNING <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail 2020-05-06 20:00:08.204 T:1346 INFO <general>: Found 2 Lists of Devices 2020-05-06 20:00:08.204 T:1346 INFO <general>: Enumerated PULSE devices: 2020-05-06 20:00:08.204 T:1346 INFO <general>: Device 1 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_deviceName : Default 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_displayName : Default 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO) 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_deviceType : AE_DEVTYPE_PCM 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_channels : FL, FR 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2020-05-06 20:00:08.204 T:1346 INFO <general>: m_streamTypes : No passthrough capabilities 2020-05-06 20:00:08.204 T:1346 DEBUG <general>: CActiveAE - device count change event from driver: PULSE 2020-05-06 20:00:08.205 T:1346 DEBUG <general>: PulseAudio: Context authorizing 2020-05-06 20:00:08.205 T:1346 DEBUG <general>: PulseAudio: Context setting name 2020-05-06 20:00:08.205 T:1346 DEBUG <general>: PulseAudio: Context ready 2020-05-06 20:00:08.206 T:1346 WARNING <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail 2020-05-06 20:00:08.206 T:1346 INFO <general>: Found 2 Lists of Devices 2020-05-06 20:00:08.206 T:1346 INFO <general>: Enumerated PULSE devices: 2020-05-06 20:00:08.206 T:1346 INFO <general>: Device 1 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_deviceName : Default 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_displayName : Default 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_displayNameExtra: Bluetooth Audio (PULSEAUDIO) 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_deviceType : AE_DEVTYPE_PCM 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_channels : FL, FR 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_sampleRates : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_dataFormats : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT 2020-05-06 20:00:08.206 T:1346 INFO <general>: m_streamTypes : No passthrough capabilities 2020-05-06 20:00:08.218 T:1898 INFO <general>: Librespot: loaded module-rtp-send destination_ip=127.0.0.1 port=24642 source=librespot.monitor 2020-05-06 20:00:08.241 T:1344 DEBUG <general>: Sink changed 2020-05-06 20:00:08.242 T:1898 INFO <general>: Librespot: suspended sink 1 2020-05-06 20:00:08.242 T:1908 INFO <general>: Librespot: librespot thread started 2020-05-06 20:00:08.257 T:1908 INFO <general>: Librespot: librespot started 2020-05-06 20:00:08.259 T:1908 INFO <general>: Librespot: [2020-05-06T18:00:08Z INFO librespot] librespot 6ddd9501b5 (2020-05-03). Built on 2020-05-05. Build ID: Jtn2PGDd 2020-05-06 20:00:08.259 T:1908 INFO <general>: Librespot: thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("EOF while parsing a value", line: 1, column: 0)', src/libcore/result.rs:1165:5 2020-05-06 20:00:08.283 T:1908 INFO <general>: Librespot: suspended sink 1 2020-05-06 20:00:08.283 T:1908 INFO <general>: Librespot: event panic 1/3 2020-05-06 20:00:08.307 T:1908 INFO <general>: Librespot: suspended sink 1 2020-05-06 20:00:08.307 T:1908 INFO <general>: Librespot: librespot stopped
Anybody got an idea why librespot won't start?
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.
-
Hey awiouy
I have a problem with the librespot addon on my Coreelec 9.2.2 setup.
I know this is a forum for Libreelec, but over at the coreelec forum nobody could or was willing to help me.
The problem is quite simple, the addon runs and i don't see any error in the kodi logs, but i can't find on the Spotify-Connect device list on my phone.
I have no idea where to start finding the problem.
Interestingly enough, i tried installing a experimental Spotifyd addon from the coreelec forums here, this time I could see the Coreelec device on my phone but the audio output was not working well.
So to me it seems like it could probably work, but something is blocking the librespot addon from being discoverable on other phones (of course in the same network).
Perhaps you have an idea?
Any ideas?
-
- Official Post
Any ideas?
Hello 4Style
It is difficult for me to assess your problem:
- I do not know what version of Librespot is shipped with CoreELEC
- you do not provide a log
- I am not able to run CoreELEC or build addons for that distribution
I am however willing to assist.
Please tell me what version of Librespot you are trying to run, and in return I will tell you how to provide a log.
Your description hints at a mndns/dns-sd issue. Have you tried to disable discovery mode (and enter username/password) in the addon settings?
-
Hello 4Style
It is difficult for me to assess your problem:
- I do not know what version of Librespot is shipped with CoreELEC
- you do not provide a log
- I am not able to run CoreELEC or build addons for that distribution
I am however willing to assist.
Please tell me what version of Librespot you are trying to run, and in return I will tell you how to provide a log.
Your description hints at a mndns/dns-sd issue. Have you tried to disable discovery mode (and enter username/password) in the addon settings?
Okay i'm sorry but i think i have now a few informations that could help you.
First i disabled the spotifyd addon and the spotify addon from marcelveldt to prevent any cross-effects.
The spotify addon from marcelveldt also ships a spotify connect feature, which works for me, but is very unreliable.
The version that is shipped with Coreelec is 123 (the one with the ascii strings), so it should be quite up to date.
I tried to disable the discovery mode and entered my credentials, but this didn't change the situation (of course with disabling and enabling the addon and doing a restart of the whole system).
I also tried switching to another port, in case the port would be blocked by some other application, but also without success.
I can provide you the logs from the log generator (?), that is shipped with Coreelec, maybe you can find something here: http://ix.io/2l89
There is more going on than I've seen a few days ago.
-
- Official Post
Okay i'm sorry but i think i have now a few informations that could help you.
First i disabled the spotifyd addon and the spotify addon from marcelveldt to prevent any cross-effects.
The spotify addon from marcelveldt also ships a spotify connect feature, which works for me, but is very unreliable.
The version that is shipped with Coreelec is 123 (the one with the ascii strings), so it should be quite up to date.
I tried to disable the discovery mode and entered my credentials, but this didn't change the situation (of course with disabling and enabling the addon and doing a restart of the whole system).
I also tried switching to another port, in case the port would be blocked by some other application, but also without success.
I can provide you the logs from the log generator (?), that is shipped with Coreelec, maybe you can find something here: http://ix.io/2l89
There is more going on than I've seen a few days ago.
Your log contains a lot of such lines:
According to this, people aren't / won't be able to use Rust on Linux with CP15_BARRIER_EMULATION=y & abi.cp15_barrier=1 (emulation, default value) & arm-unknown-linux-gnueabihf toolchain.
This could be the case for CoreELEC.
-
Your log contains a lot of such lines:
According to this, people aren't / won't be able to use Rust on Linux with CP15_BARRIER_EMULATION=y & abi.cp15_barrier=1 (emulation, default value) & arm-unknown-linux-gnueabihf toolchain.
This could be the case for CoreELEC.
All right thanks, I don't understand much of this, but do you think i should report this issue to the coreelec devs, so they can adjust their tool chain?
-
- Official Post
All right thanks, I don't understand much of this, but do you think i should report this issue to the coreelec devs, so they can adjust their tool chain?
Yes, please do report this to the CoreELEC devs.
Together, we might be able to fix your issue.
-
-
I am on a RPi4 with LibreELEC 9.2 installed Librespot 123. Librespot is not being detected on any of the devices in the house even though they are all under the same network (submask).
I have Spotify Premium and Spotify Connect works with other devices in the house.
I also tested Librespot 121, and 122. The Spotify Add-on from marcveldt was in stalled before but uninstalled.
This is the Librespot log that I get. Any idea what is happening?Code
Display More2020-05-09 13:53:36.995 T:2721239920 NOTICE: Librespot: monitor started 2020-05-09 13:53:37.017 T:2721239920 DEBUG: CAddonSettings[service.librespot]: loading setting definitions 2020-05-09 13:53:37.017 T:2721239920 DEBUG: CAddonSettings[service.librespot]: trying to load setting definitions from old format... 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: loading setting values 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CSettingsManager: requested setting (ls_a) was not found. 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: failed to find definition for setting ls_a. Creating a setting on-the-fly... 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CSettingsManager: requested setting (ls_p) was not found. 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: failed to find definition for setting ls_p. Creating a setting on-the-fly... 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CSettingsManager: requested setting (ls_u) was not found. 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: failed to find definition for setting ls_u. Creating a setting on-the-fly... 2020-05-09 13:53:37.019 T:2721239920 DEBUG: CSettingsManager: requested setting (rtp_dest) was not found. 2020-05-09 13:53:37.019 T:2721239920 DEBUG: CSettingsManager: requested setting (device) was not found. 2020-05-09 13:53:37.019 T:2721239920 DEBUG: CSettingsManager: requested setting (bitrate) was not found. 2020-05-09 13:53:37.021 T:2721239920 NOTICE: Librespot: ['librespot', '--backend', 'pulseaudio', '--bitrate', '320', '--cache', 'cache', '--device', 'librespot', '--device-type', 'TV', '--disable-audio-cache', '--name', 'Librespot@PalaisKueche', '--notify-kodi', '--autoplay'] 2020-05-09 13:53:37.065 T:2547385200 DEBUG: Thread Timer 2547385200 terminating 2020-05-09 13:53:37.244 T:2824762224 INFO: Python interpreter stopped 2020-05-09 13:53:37.245 T:2824762224 DEBUG: Thread LanguageInvoker 2824762224 terminating 2020-05-09 13:53:37.687 T:2721239920 NOTICE: Librespot: loaded module-null-sink sink_name=librespot 2020-05-09 13:53:37.805 T:2721239920 NOTICE: Librespot: loaded module-rtp-send destination_ip=127.0.0.1 port=24642 source=librespot.monitor 2020-05-09 13:53:37.961 T:2721239920 NOTICE: Librespot: suspended sink 1 2020-05-09 13:53:37.962 T:2824762224 NOTICE: Librespot: librespot thread started 2020-05-09 13:53:38.030 T:2824762224 NOTICE: Librespot: librespot started 2020-05-09 13:53:38.039 T:2841670512 INFO: ## LibreELEC Addon ## system::set_hostname ## PalaisKueche 2020-05-09 13:53:38.040 T:2841670512 INFO: ## LibreELEC Addon ## system::set_keyboard_layout ## de 2020-05-09 13:53:38.040 T:2841670512 INFO: ## LibreELEC Addon ## system::set_keyboard_layout ## loadkmap < `ls -1 /usr/lib/keymaps/*/de.bmap` 2020-05-09 13:53:38.085 T:2824762224 NOTICE: Librespot: [2020-05-09T11:53:38Z INFO librespot] librespot 703c4ddaa0 (2020-04-27). Built on 2020-05-02. Build ID: YM60he19
-
- Official Post
I am on a RPi4 with LibreELEC 9.2 installed Librespot 123. Librespot is not being detected on any of the devices in the house even though they are all under the same network (submask).
I have Spotify Premium and Spotify Connect works with other devices in the house.
I also tested Librespot 121, and 122. The Spotify Add-on from marcveldt was in stalled before but uninstalled.
This is the Librespot log that I get. Any idea what is happening?Code
Display More2020-05-09 13:53:36.995 T:2721239920 NOTICE: Librespot: monitor started 2020-05-09 13:53:37.017 T:2721239920 DEBUG: CAddonSettings[service.librespot]: loading setting definitions 2020-05-09 13:53:37.017 T:2721239920 DEBUG: CAddonSettings[service.librespot]: trying to load setting definitions from old format... 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: loading setting values 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CSettingsManager: requested setting (ls_a) was not found. 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: failed to find definition for setting ls_a. Creating a setting on-the-fly... 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CSettingsManager: requested setting (ls_p) was not found. 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: failed to find definition for setting ls_p. Creating a setting on-the-fly... 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CSettingsManager: requested setting (ls_u) was not found. 2020-05-09 13:53:37.018 T:2721239920 DEBUG: CAddonSettings[service.librespot]: failed to find definition for setting ls_u. Creating a setting on-the-fly... 2020-05-09 13:53:37.019 T:2721239920 DEBUG: CSettingsManager: requested setting (rtp_dest) was not found. 2020-05-09 13:53:37.019 T:2721239920 DEBUG: CSettingsManager: requested setting (device) was not found. 2020-05-09 13:53:37.019 T:2721239920 DEBUG: CSettingsManager: requested setting (bitrate) was not found. 2020-05-09 13:53:37.021 T:2721239920 NOTICE: Librespot: ['librespot', '--backend', 'pulseaudio', '--bitrate', '320', '--cache', 'cache', '--device', 'librespot', '--device-type', 'TV', '--disable-audio-cache', '--name', 'Librespot@PalaisKueche', '--notify-kodi', '--autoplay'] 2020-05-09 13:53:37.065 T:2547385200 DEBUG: Thread Timer 2547385200 terminating 2020-05-09 13:53:37.244 T:2824762224 INFO: Python interpreter stopped 2020-05-09 13:53:37.245 T:2824762224 DEBUG: Thread LanguageInvoker 2824762224 terminating 2020-05-09 13:53:37.687 T:2721239920 NOTICE: Librespot: loaded module-null-sink sink_name=librespot 2020-05-09 13:53:37.805 T:2721239920 NOTICE: Librespot: loaded module-rtp-send destination_ip=127.0.0.1 port=24642 source=librespot.monitor 2020-05-09 13:53:37.961 T:2721239920 NOTICE: Librespot: suspended sink 1 2020-05-09 13:53:37.962 T:2824762224 NOTICE: Librespot: librespot thread started 2020-05-09 13:53:38.030 T:2824762224 NOTICE: Librespot: librespot started 2020-05-09 13:53:38.039 T:2841670512 INFO: ## LibreELEC Addon ## system::set_hostname ## PalaisKueche 2020-05-09 13:53:38.040 T:2841670512 INFO: ## LibreELEC Addon ## system::set_keyboard_layout ## de 2020-05-09 13:53:38.040 T:2841670512 INFO: ## LibreELEC Addon ## system::set_keyboard_layout ## loadkmap < `ls -1 /usr/lib/keymaps/*/de.bmap` 2020-05-09 13:53:38.085 T:2824762224 NOTICE: Librespot: [2020-05-09T11:53:38Z INFO librespot] librespot 703c4ddaa0 (2020-04-27). Built on 2020-05-02. Build ID: YM60he19
Did you set 'wait for network' in LibreELEC network settings? If not, do so and reboot.
Otherwise, your log does not show anything abnormal.
-
Did you set 'wait for network' in LibreELEC network settings? If not, do so and reboot.
Otherwise, your log does not show anything abnormal.
I just turned on "wait for network" but it did not resolve the issue. Librespot is not shown in any of the devices tested.
Maybe it has to do with the general detectability of Kodi. I wanted to set up the remote using Kore (Android remote app) and Kodi wasn't automatically found. I had to add the details manually to establish a connection. This is weird since earlier versions of LibreELEC were found on the network without issues.
Do you think the problems are related? -
- Official Post
I just turned on "wait for network" but it did not resolve the issue. Librespot is not shown in any of the devices tested.
Maybe it has to do with the general detectability of Kodi. I wanted to set up the remote using Kore (Android remote app) and Kodi wasn't automatically found. I had to add the details manually to establish a connection. This is weird since earlier versions of LibreELEC were found on the network without issues.
Do you think the problems are related?You might try two things:
1. check that avahi is enabled in LibreELEC settings, and if not enable it
2. If that does not fix your issue, disable discovery mode in Librespot settings and enter your username/password
-
You might try two things:
1. check that avahi is enabled in LibreELEC settings, and if not enable it
2. If that does not fix your issue, disable discovery mode in Librespot settings and enter your username/password
avahi is turned on and active:
I disabled recovery mode and used my user id and both possible password (account password and device-specific password)
Both options did not work. I don't see librespot as option in my devices.
Anything else I could check? -
- Official Post
avahi is turned on and active:
I disabled recovery mode and used my user id and both possible password (account password and device-specific password)
Both options did not work. I don't see librespot as option in my devices.
Anything else I could check?If you are using a VPN, disable it
-
If you are using a VPN, disable it
No VPN.
Is it possible that some other plugin is using that port? -