Kodi Community Forum
Beta Spotify for Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: Beta Spotify for Kodi (/showthread.php?tid=265356)



RE: Spotify for Kodi - Jönke - 2016-10-15

Not working on Rpi Milhouse from thursday anyway , will try a new build tomorow .


RE: Spotify for Kodi - FernetMenta - 2016-10-15

(2016-10-15, 22:04)Jönke Wrote: Not working on Rpi Milhouse from thursday anyway , will try a new build tomorow .

you may referring to another issue. the test file I got works on my systems.


RE: Spotify for Kodi - Palmdale95 - 2016-10-16

I can't even install it on my pi with libreelec and krypton alpha 3. Tried the same on a Windows and nothing is happening as well. Got the addon out of superrepo. What can I do? On Jarvis it works pretty good on the pc.

Sent from my SM-T715


RE: Spotify for Kodi - markusloffler - 2016-10-19

@Fernetmenta: Tried the current nightly (rev 20161019-nogitfound), but it does not work - is the fix supposed to be in there?


RE: Spotify for Kodi - User 224999 - 2016-10-19

(2016-10-19, 12:16)markusloffler Wrote: @Fernetmenta: Tried the current nightly (rev 20161019-nogitfound), but it does not work - is the fix supposed to be in there?

There might be another error causing it to fail. Can you please provide me a full kodi debug log when you try to playback a track from the spotify addon ?


RE: Spotify for Kodi - User 224999 - 2016-10-19

(2016-10-16, 09:26)Palmdale95 Wrote: I can't even install it on my pi with libreelec and krypton alpha 3. Tried the same on a Windows and nothing is happening as well. Got the addon out of superrepo. What can I do? On Jarvis it works pretty good on the pc.

First of all, I didn't place it on superrepo so I don't know who did. What's the version number ?
Secondly I'm investigating the issue. there was a fix created once but it doens't seem to cover all scenario's so there might also be another issue in the addon itself.

I'll take a look at it tonight.


RE: Spotify for Kodi - markusloffler - 2016-10-19

(2016-10-19, 13:33)marcelveldt Wrote:
(2016-10-19, 12:16)markusloffler Wrote: @Fernetmenta: Tried the current nightly (rev 20161019-nogitfound), but it does not work - is the fix supposed to be in there?

There might be another error causing it to fail. Can you please provide me a full kodi debug log when you try to playback a track from the spotify addon ?

Sure... if I observed this correctly, before the update the track did not even show up in the play queue. It now does but playback fails.
Regards,
Markus

Code:
18:45:02 T:3033118592  NOTICE: Starting Kodi (17.0-BETA4 Git:20161019-nogitfound). Platform: Linux x86 32-bit
18:45:02 T:3033118592  NOTICE: Using Release Kodi x32 build
18:45:02 T:3033118592  NOTICE: Kodi compiled Oct 19 2016 by GCC 4.8.4 for Linux x86 32-bit version 3.13.11 (199947)
18:45:02 T:3033118592  NOTICE: Running on Ubuntu 14.04.5 LTS, kernel: Linux x86 32-bit version 3.13.0-63-generic
18:45:02 T:3033118592  NOTICE: FFmpeg version/source: ffmpeg-3.1-kodi

...

18:49:07 T:3032914752   DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
18:49:07 T:3032914752   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
18:49:07 T:2472938304   DEBUG: CWebServer[8080]: request received for /jsonrpc
18:49:07 T:2472938304   DEBUG: CurlFile::ParseAndCorrectUrl() ignoring header option 'X-Spotify-Token: be623dcefdcbd8a159faa0a1cd5983096fce906e'
18:49:07 T:2472938304    INFO: easy_aquire - Created session to http://127.0.0.1
18:49:07 T:2472938304   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:07 T:3032914752   DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
18:49:07 T:3032914752   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
18:49:07 T:2472938304   DEBUG: CWebServer[8080]: request received for /jsonrpc
18:49:08 T:3032914752   DEBUG: CAnnouncementManager - Announcement: OnScreensaverDeactivated from xbmc
18:49:08 T:3032914752   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverDeactivated
18:49:08 T:3033118592   DEBUG: CurlFile::ParseAndCorrectUrl() ignoring header option 'X-Spotify-Token: be623dcefdcbd8a159faa0a1cd5983096fce906e'
18:49:08 T:3033118592   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:08 T:3033118592   DEBUG: CCurlFile::GetMimeType - http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29 -> failed
18:49:08 T:3033118592   DEBUG: Loading settings for http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:08 T:3033118592   DEBUG: CPlayerCoreFactory::GetPlayers(http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29)
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: aacp/sdp
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
18:49:08 T:3033118592   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
18:49:08 T:3033118592   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
18:49:08 T:3033118592   DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (PAPlayer)
18:49:08 T:3033118592   DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
18:49:08 T:3033118592   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
18:49:08 T:3033118592   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: VideoPlayer
18:49:08 T:3033118592   DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
18:49:08 T:3033118592   DEBUG: CurlFile::ParseAndCorrectUrl() ignoring header option 'X-Spotify-Token: be623dcefdcbd8a159faa0a1cd5983096fce906e'
18:49:08 T:3033118592   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:08 T:3033118592   DEBUG: CCurlFile::GetMimeType - http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29 -> failed
18:49:08 T:3033118592   DEBUG: CurlFile::ParseAndCorrectUrl() ignoring header option 'X-Spotify-Token: be623dcefdcbd8a159faa0a1cd5983096fce906e'
18:49:08 T:3033118592   DEBUG: CurlFile::Open(0xbfad0a94) http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1
18:49:08 T:3033118592   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
18:49:08 T:3033118592   ERROR: CCurlFile::Open failed with code 403 for http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:08 T:3033118592   DEBUG: CFileCache::Open - opening <track/7ucz210jwDc2VoxDn6ws0I.wav> using cache
18:49:08 T:3033118592   DEBUG: CurlFile::ParseAndCorrectUrl() ignoring header option 'X-Spotify-Token: be623dcefdcbd8a159faa0a1cd5983096fce906e'
18:49:08 T:3033118592   DEBUG: CurlFile::Open(0xc3faec0) http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1
18:49:08 T:3033118592   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
18:49:08 T:3033118592   ERROR: CCurlFile::Open failed with code 403 for http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:08 T:3033118592   ERROR: Open - failed to open source <http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29>
18:49:08 T:3033118592   ERROR: Init: Error opening file http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:08 T:3033118592   DEBUG: CurlFile::ParseAndCorrectUrl() ignoring header option 'X-Spotify-Token: be623dcefdcbd8a159faa0a1cd5983096fce906e'
18:49:08 T:3033118592   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:08 T:3033118592   DEBUG: CCurlFile::GetMimeType - http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29 -> failed
18:49:08 T:3033118592   DEBUG: CurlFile::ParseAndCorrectUrl() ignoring header option 'X-Spotify-Token: be623dcefdcbd8a159faa0a1cd5983096fce906e'
18:49:08 T:3033118592   DEBUG: CurlFile::Open(0xbfad0ba4) http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1
18:49:08 T:3033118592   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
18:49:08 T:3033118592   ERROR: CCurlFile::Open failed with code 403 for http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:08 T:3033118592   DEBUG: CFileCache::Open - opening <track/7ucz210jwDc2VoxDn6ws0I.wav> using cache
18:49:08 T:3033118592   DEBUG: CurlFile::ParseAndCorrectUrl() ignoring header option 'X-Spotify-Token: be623dcefdcbd8a159faa0a1cd5983096fce906e'
18:49:08 T:3033118592   DEBUG: CurlFile::Open(0xc4dbe58) http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1
18:49:08 T:3033118592   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
18:49:08 T:3033118592   ERROR: CCurlFile::Open failed with code 403 for http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:08 T:3033118592   ERROR: Open - failed to open source <http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29>
18:49:08 T:3033118592   ERROR: Init: Error opening file http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:08 T:3033118592   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29
18:49:08 T:3033118592 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
18:49:08 T:3033118592   DEBUG: OnQueueNextItem: play state was 1, starting 1
18:49:08 T:3033118592   DEBUG: OnPlayBackStopped: play state was 1, starting 0
18:49:08 T:3033118592   ERROR: Playlist Player: skipping unplayable item: 0, path [http://127.0.0.1:8090/track/7ucz210jwDc2VoxDn6ws0I.wav?idx=1|X-Spotify-Token=be623dcefdcbd8a159faa0a1cd5983096fce906e&User-Agent=Spotify%2F1.0.22+%28XBMC%2F17.0-BETA4+Git%3A20161019-nogitfound%29]
18:49:08 T:3033118592   DEBUG: Playlist Player: one or more items failed to play... aborting playback



RE: Spotify for Kodi - berne88 - 2016-10-19

this is strange... i have it working, running good, but what fint the folder, and i cant find it, i have search for plugin.audio.spotify but no result, really strange... any ides?


RE: Spotify for Kodi - Palmdale95 - 2016-10-19

(2016-10-19, 13:35)marcelveldt Wrote:
(2016-10-16, 09:26)Palmdale95 Wrote: I can't even install it on my pi with libreelec and krypton alpha 3. Tried the same on a Windows and nothing is happening as well. Got the addon out of superrepo. What can I do? On Jarvis it works pretty good on the pc.

First of all, I didn't place it on superrepo so I don't know who did. What's the version number ?
Secondly I'm investigating the issue. there was a fix created once but it doens't seem to cover all scenario's so there might also be another issue in the addon itself.

I'll take a look at it tonight.
Hi there. Strange though. Anyways. The stated version is 1.0.22.

Sent from my SM-T715


RE: Spotify for Kodi - berne88 - 2016-10-20

what is the full namn, of the "file" thats make spotify running in/on add on?


RE: Spotify for Kodi - boolean - 2016-10-22

Just stumbled upon this page while looking for practical examples on how to interface with the Spotify API. Instead of building an add-on myself I figured your solution was worth a try, and I can only say I'm pleasantly surprised with the result! You did a wonderful job on this plugin, chapeau! I'm running OpenELEC 6.95.3 (which incorporates Kodi 16.1) and teamed it up with your latest add-on and it's working flawlessly, so I just wanted the time to say "THANK YOU"!!


RE: Spotify for Kodi - mrpg - 2016-10-22

(2016-10-19, 13:33)marcelveldt Wrote:
(2016-10-19, 12:16)markusloffler Wrote: @Fernetmenta: Tried the current nightly (rev 20161019-nogitfound), but it does not work - is the fix supposed to be in there?

There might be another error causing it to fail. Can you please provide me a full kodi debug log when you try to playback a track from the spotify addon ?

I am on latest nightly krypton, and still getting "cannot find a next item to play"

Here is my debug log :

http://paste.ubuntu.com/23365748/


RE: Spotify for Kodi - ray2301 - 2016-10-23

(2016-10-22, 20:33)mrpg Wrote:
(2016-10-19, 13:33)marcelveldt Wrote:
(2016-10-19, 12:16)markusloffler Wrote: @Fernetmenta: Tried the current nightly (rev 20161019-nogitfound), but it does not work - is the fix supposed to be in there?

There might be another error causing it to fail. Can you please provide me a full kodi debug log when you try to playback a track from the spotify addon ?

I am on latest nightly krypton, and still getting "cannot find a next item to play"

Here is my debug log :

http://paste.ubuntu.com/23365748/

Same problem here on Windows 10 x64. I am trying for days now to get it working on Krypton but still nothing.

My log:
http://paste.ubuntu.com/23368626/

edit: I can also see this when i open-up one of the links in browser:

403 Forbidden

Request forbidden -- authorization will not help

Traceback (most recent call last):
File "C:\Users\Ray\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources/libs\cherrypy\_cprequest.py", line 670, in respond
response.body = self.handler()
File "C:\Users\Ray\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources/libs\cherrypy\lib\encoding.py", line 220, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "C:\Users\Ray\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources/libs\cherrypy\_cpdispatch.py", line 60, in __call__
return self.callable(*self.args, **self.kwargs)
File "C:\Users\Ray\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources/libs\spotifyproxy\httpproxy.py", line 403, in default
self._check_request()
File "C:\Users\Ray\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources/libs\spotifyproxy\httpproxy.py", line 351, in _check_request
raise cherrypy.HTTPError(403)
HTTPError: (403, None)

I don't even know where to start with this Smile Any hints or help would be appreciated.


RE: Spotify for Kodi - foxstefano - 2016-10-25

I just downloaded Krypton b4 but the problem with Spotify addon is still here


RE: Spotify for Kodi - sibu - 2016-10-26

First of all, thank you marcelveldt for developing this addon - it's great.

However it's not playing any tracks in my current Kodi installation (Kodi 17.0-BETA4 Git:20161024, Ubuntu 16.04).
Here's my logfile: https://paste.ubuntu.com/23384645/

Any help is greatly appreciated!