Kodi Community Forum

Full Version: Spotify for Kodi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For Raspberry pi there is a connect addon over @ LIbreelec forum
There is a Spotify connect addon for LibreElec here: https://forum.libreelec.tv/thread-1206.html but from what I read it is only working on Rpi devices.
Spotify Connect is only possible for embedded devices (like car audio and home cinema sets). The code has been ported to the pi but don't expect it to happen in any other add-on. It is closed source code and support for it doesn't exist in any of the current API's/SDK's.
Great plugin! Thanks!

How's the issues with krypton build going? For me the addon wont play on Krypton but works great on jarvis setup.
Both setups on windows machines.
(2016-08-31, 08:14)sanity Wrote: [ -> ]Great plugin! Thanks!

How's the issues with krypton build going? For me the addon wont play on Krypton but works great on jarvis setup.
Both setups on windows machines.

One of the Kodi devs (FernetMenta) is actively working on it, hopefully a resolution will follow soon.
Glad to hear that Smile
Thanks for the reply!
(2016-08-28, 20:11)marcelveldt Wrote: [ -> ]Spotify Connect is only possible for embedded devices (like car audio and home cinema sets). The code has been ported to the pi but don't expect it to happen in any other add-on. It is closed source code and support for it doesn't exist in any of the current API's/SDK's.

There is a group of people on working on reverse engineering the libspotify api including spotify connect. Here is their shared github. It links to some of their projects and their fairly active gitter room if you want to ask them questions https://github.com/sashahilton00/spotify...-resources

Would be amazing to get this functionality in kodi. I've been trying to look in to it myself but my programming knowledge is mostly limited to web technologies so I'm kind of lost
Fully agree, Spotify Connect would indeed be great! A few questions / thoughts:

1) There is a thread that implies that it is already working? http://forum.kodi.tv/showthread.php?tid=221145

2) And another one https://discourse.osmc.tv/t/howto-setup-...osmc/15818

3) Anyone knows how Spotify Connect deals with multi-room setups. For example, could it get a Spotify Connect speaker (native) and a speaker connected to Kodi (with Spotify Connect) to play in-sync?
I'm running this great addon since a while and was very happy with it.
It works perfect with Yatse from my tablet. Much better than then other addons I have tested before.

But since yesterday I have the strange issue that I can't play music from Spotify anymore.
Every track I want to play I hear only the first 9 to 12 seconds music. After this I hear only silence until the next track starts.
From the next track I hear up to 12 seconds music, then silence again, and so on...

I can play every local music from my NAS without any problem. Only Spotify does not work anymore.

I'm on Openelec 6.0.3 Generic x86_64 with your Spotify Addon 1.0.20.

Any idea?
Thank you very much in advance.
(2016-09-04, 13:29)britishopen93 Wrote: [ -> ]I'm running this great addon since a while and was very happy with it.
It works perfect with Yatse from my tablet. Much better than then other addons I have tested before.

But since yesterday I have the strange issue that I can't play music from Spotify anymore.
Every track I want to play I hear only the first 9 to 12 seconds music. After this I hear only silence until the next track starts.
From the next track I hear up to 12 seconds music, then silence again, and so on...

I can play every local music from my NAS without any problem. Only Spotify does not work anymore.

I'm on Openelec 6.0.3 Generic x86_64 with your Spotify Addon 1.0.20.

Any idea?
Thank you very much in advance.

I will post a new version later today to fix this issue. I just reproduced it and only seems to happen on linux
Thank you very much for the fast answer. I'm looking forward to test the new version.
Hi Marcel

same issue here on a windows machine... first couple of seconds playing music, than silence. Restarting the track and it plays fine, but couple of tracks later same problem... silence.

Cheers
Dennis
(2016-09-04, 18:16)werewolf80 Wrote: [ -> ]same issue here on a windows machine... first couple of seconds playing music, than silence. Restarting the track and it plays fine, but couple of tracks later same problem... silence.

I've just uploaded version 1.0.21 to the repo which will fix the playback issue. Please test.

Note that the playback issue on Kodi Krypton is still being worked on, that will be fixed in Kodi's code.
I'm getting a login error, tried reinstalling the addon, removing all directories etc.The login error says nothing, just "login error".

Code:
21:19:54 T:140642459260672   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: cannot import name wsgiserver
                                            Traceback (most recent call last):
                                              File "/home/htpc/.kodi/addons/plugin.audio.spotify/spotifyservice.py", line 3, in <module>
                                                import resources.playbackservice as service
                                              File "/home/htpc/.kodi/addons/plugin.audio.spotify/resources/playbackservice.py", line 14, in <module>
                                                from spotifyproxy.httpproxy import ProxyRunner
                                              File "/home/htpc/.kodi/addons/plugin.audio.spotify/resources/libs/spotifyproxy/httpproxy.py", line 7, in <module>
                                                from cherrypy import wsgiserver
                                            ImportError: cannot import name wsgiserver
                                            -->End of Python script error report<--
(2016-09-04, 21:26)janpfo Wrote: [ -> ]I'm getting a login error, tried reinstalling the addon, removing all directories etc.The login error says nothing, just "login error".

Hmm, looks like your download was corrupted when you updated to the latest version.
Can you try to manual install by zip ?


http://www.mb3admin.com/downloads/addons...1.0.21.zip