• 1
  • 130
  • 131
  • 132(current)
  • 133
  • 134
  • 137
Beta Spotify for Kodi
Unfortunately, Spotify have removed the username/password authentication mode that the Kodi Spotify plugin uses. This also affects librespot which the Kodi plugin depends on (see librespot-org#1308). So my first attempt at a fix involves the zeroconf authentication mode supported by librespot. I can get this to work in a pretty clunky way. It involves using another Spotify app on your network (either mobile or desktop) signing in the Kodi spotify plugin. So far, by doing a few things manually, this seems to work. I am still testing. I'll keep you posted.
Reply
(2024-08-14, 12:01)glk1001 Wrote: Unfortunately, Spotify have removed the username/password authentication mode that the Kodi Spotify plugin uses. This also affects librespot which the Kodi plugin depends on (see librespot-org#1308). So my first attempt at a fix involves the zeroconf authentication mode supported by librespot. I can get this to work in a pretty clunky way. It involves using another Spotify app on your network (either mobile or desktop) signing in the Kodi spotify plugin. So far, by doing a few things manually, this seems to work. I am still testing. I'll keep you posted.
thx glk1001 for your time & explanations!
Reply
I've updated the Spotify plugin to version 1.3.10 at https://github.com/glk1001/glk1001.github.io. No other version will work now since Spotify removed the 'user/password' authentication mode. In the new version, the plugin uses 'zeroconf' authentication which requires you use another official Spotify app to authenticate the Kodi plugin. See step 4 on the above download site's Readme.

I've tested the plugin on Ubuntu 24.04 and Windows 11 and it's working OK.
Reply
It's not working for me on Windows 10 with Kodi 21.0 and Spotify Premium.
The credentials.json is generated and it's content seems to be right. The other files in that folder are generated, too.
Kodi gives me an error.
If you need a full log or debug log i can give you via pm. I don't want to post it here because it contains sensitive data like tokens.

Edit:
Maybe that's the problem:
HTTP Error for GET to https://api.spotify.com/v1/me/ with Params: {} returned 403 due to Check settings on developer.spotify.com/dashboard, the user may not be registered.
Reply
Thx glk1001, but i have the same issue liek Publish3r on my Kodi (Raspi, LibreELEC)
Reply
Here is a sample of my log with the error: https://paste.kodi.tv/ozejifagoy.kodi

I followed the instructions: uninstalled, reinstalled, started the smartphone app, started the sound, connected Kodi, closed the app and then pressed OK in Kodi
Reply
(2024-08-16, 19:54)davidsteel Wrote: Here is a sample of my log with the error: https://paste.kodi.tv/ozejifagoy.kodi

I followed the instructions: uninstalled, reinstalled, started the smartphone app, started the sound, connected Kodi, closed the app and then pressed OK in Kodi
and the json file was also created according to the log and i can also see it via WinSCP
Reply
OK, hopefully this is an issue with my misunderstanding with how Spotify handles third-party apps. I tried a new client-id with v1.3.10 linked to my development account. Previously the client_id was the one that had been with the plugin since the beginning (which I have no access to). But it seems in my development account each user has to be registered with the account (I think I just do that manually), and while in development mode, there is a maximum of 25 users. So doesn't sound too good.

Hopefully by putting back the old client_id it will just work again. Anyway, I uploaded a test plugin with the old client_id (which I tested and worked for me) so try that one:

From https://github.com/glk1001/glk1001.github.io install plugin.audio.spotify-1.3.10-test.zip
Reply
It's working now. Thank you.
Reply
many many thx for your effort and my junior is now really happy again and can listen to his sound & stories :-)
Reply
Thanks for testing. I've updated the download site so plugin.audio.spotify-1.3.10.zip now has the plugin that is good.
Reply
I can confirm authentication is working, but playback is not, at least not on Raspberry Pi 3 - it plays 0 to 5 seconds of the track and then skips to the next track. I tested latest LibreElec, OSMC and Raspberry Pi OS with kodi installation, they all show the same behavior. It seems it is caching related - when caching is disabled, it won't even start playing, but will straight up say something went wrong. With caching enabled, I get up to 5 seconds of stream before skipping to the next track. Interestingly, when I feed the localhost url to mpv outside Kodi, it streams fine. I even tried using mpv as external player, but it complains it only gets 44 bytes, but expects much more and does not play anything. Captured debug log cURL and ffmpeg

debug log

I also tested the plugin on x86 Ubuntu 22.04 and I can't reproduce the behavior - it is working fine there.
Reply
hi i am running windows 11 with  kodi 20.5, when trying the new plugin for spotify i get errors up allthough i am log in through windows to spotify ,

any thoughts thanks

https://paste.kodi.tv/xoluyayeve.kodi
Reply
Further observations running on raspberry pi 3b+:
I'm able to get longer play times, occasionally when switching to wifi. The poorer the reception, the better. It seem the main issue is bottle returning 200 OK with an empty body. This is usually when the stream ends. When connection is poor, it will throw an additional warning and actually retries and receives the data. I have no hard evidence, but I guess it's the bottle with wsgiref being too slow for all the heads and gets the player does on the stream.
Reply
I've uploaded a "plugin.audio.spotify-1.3.10-test.zip" that might be worth trying. Let me know if it works.
Reply
  • 1
  • 130
  • 131
  • 132(current)
  • 133
  • 134
  • 137

Logout Mark Read Team Forum Stats Members Help
Spotify for Kodi17
This forum uses Lukasz Tkacz MyBB addons.