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 - marcelveldt - 2017-09-07

(2017-09-07, 22:09)ed_davidson Wrote:
(2017-09-07, 21:37)marcelveldt Wrote:
(2017-09-07, 00:40)ed_davidson Wrote: I'm trying to use spotify on 17.4 Git:20170822-7fc6da0). Platform: Windows NT x86 32-bit.
I always get invalid credentials message.

Did you notice the warning about Facebook accounts ?
If you're using a Facebook account, you'll have to create a device password (you can do that in your spotify account details).
After that, you can login with your spotify account name (will be some number) and the password you've chosen.

I'm not aware that it is a FACEBOOK account.

Hmm OK, must be something else in that case...
I had reports in the past that you should have the Visual C++ runtimes installed. Can you give that a try ?
You can just download them from MS


RE: Spotify for Kodi - LuzZz - 2017-09-07

(2017-09-07, 21:32)marcelveldt Wrote: Wild guess but I think you have the spotipy module installed on your system, this clashes with the version of spotipy I included with the add-on (which contains a few fixes I did not yet send upstream).

pip uninstall spotipy should do the trick for you (I hope).

In the meanwhile I'll take a look if I can fix this on my end
BINGO! You are THE MAN!
Thank You Sir for Your time!

Best regards,
Lucas

//Edit: Some "beer money" should be already on Your PayPal account :-)


RE: Spotify for Kodi - marcelveldt - 2017-09-07

(2017-09-07, 22:57)LuzZz Wrote:
(2017-09-07, 21:32)marcelveldt Wrote: Wild guess but I think you have the spotipy module installed on your system, this clashes with the version of spotipy I included with the add-on (which contains a few fixes I did not yet send upstream).

pip uninstall spotipy should do the trick for you (I hope).

In the meanwhile I'll take a look if I can fix this on my end
BINGO! You are THE MAN!
Thank You Sir for Your time!

Best regards,
Lucas

//Edit: Some "beer money" should be already on Your PayPal account :-)

Thanks!!

BTW: In the meanwhile I've fixed it in the code so it shouldn't happen again


RE: Spotify for Kodi - Mowa - 2017-09-07

(2017-09-07, 21:40)marcelveldt Wrote:
(2017-09-05, 10:29)Mowa Wrote: The Spotify addon worked great untill the last couple off weeks.
I'm able to login but when i'm going in MyMusic and then Playlists, Albums, etc everything is blank.

Can you please recreate the log but now with Kodi debug logging enabled ?
I see an error in your log but without the debug option I miss some stuff I need to further investigate the issue.

Thanks for your reply. Rofl
I've made a new log with debug enabled. The log is from my laptop. I'll make a log with debug enabled from my htpc later.
I hope it helps.

https://pastebin.com/HsPeh5zB


RE: Spotify for Kodi - Karellen - 2017-09-07

@Mowa,

Just had a look at your log. Noticed this in your advancedsettings.xml file...

PHP Code:
<network>
  <
buffermode>1</buffermode>
  <
memorysize>157286400</memorysize>
  <
readfactor>80</readfactor>
  <
curllowspeedtime>300</curllowspeedtime>
</
network

This is incorrect and non-functional. See here... Video_cache (wiki)


RE: Spotify for Kodi - Mowa - 2017-09-08

(2017-09-07, 21:40)marcelveldt Wrote:
(2017-09-05, 10:29)Mowa Wrote: The Spotify addon worked great untill the last couple off weeks.
I'm able to login but when i'm going in MyMusic and then Playlists, Albums, etc everything is blank.

Can you please recreate the log but now with Kodi debug logging enabled ?
I see an error in your log but without the debug option I miss some stuff I need to further investigate the issue.
Again thanks for your reply. Rofl
The second log from my htpc with debug enabled.

https://pastebin.com/r21qE5qt


RE: Spotify for Kodi - BastiB - 2017-09-09

Hi there,

thank you for your great work! I really don't know why i did not find that addon earlier...

However, it doesn't work for me by now. As soon as i install/activate it via your repository (v1.142) a windows error message pops up and tells me there is an error in spotty_x64.exe "unknown software exception (0xc00001d) at position 0x00617712" and kodi crashes.

I am using Windows 8 and Kodi 17.4
I already generated a device password and tried to login with it (and username-code / email): wrong credentials. What does the Device-Name needs to be for which a passwort is generated?


Is there a way to use spotty_x86 instead of x64?

the Kodi Logfile.
Code:
16:09:25.875 T:4808   DEBUG: CAddonDatabase: plugin.audio.spotify has been installed.
16:09:25.884 T:4808   DEBUG: CAddonMgr: enabled plugin.audio.spotify
16:09:25.884 T:3644   DEBUG: Thread LanguageInvoker start, auto delete: false
16:09:25.884 T:3644    INFO: initializing python engine.
16:09:25.884 T:3644   DEBUG: CPythonInvoker(8, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): start processing
16:09:25.901 T:3296   DEBUG: ContextMenuManager: addon menus reloaded.
16:09:25.908 T:4808   DEBUG: LocalizeStrings: loaded 63 strings from file C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\language\English\strings.po
16:09:25.908 T:1480   DEBUG: Thread LanguageInvoker start, auto delete: false
16:09:25.909 T:1480    INFO: initializing python engine.
16:09:25.909 T:1480   DEBUG: CPythonInvoker(9, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): start processing
16:09:25.909 T:200   DEBUG: CGUIMediaWindow::GetDirectory (addons://repository.marcelveldt/xbmc.addon.audio)
16:09:25.909 T:200   DEBUG:   ParentPath = [addons://repository.marcelveldt/xbmc.addon.audio]
16:09:25.914 T:3772   DEBUG: CAddonDatabase: SELECT repo.id FROM repo .. took 0 ms
16:09:25.914 T:3772   DEBUG: CAddonDatabase: query  SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (8) ORDER BY addons.addonID returned 24 rows in 0 ms
16:09:25.916 T:3772   DEBUG: CAddonDatabase::GetAddons took 2 ms
16:09:25.918 T:3644   DEBUG: -->Python Interpreter Initialized<--
16:09:25.918 T:3644   DEBUG: CPythonInvoker(8, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): the source file to load is "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py"
16:09:25.933 T:3772   DEBUG: CAddonMgr::GetAvailableUpdates took 17 ms
16:09:25.934 T:3644   DEBUG: CPythonInvoker(8, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): setting the Python path to C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify;C:\Users\USER\AppData

\Roaming\Kodi\addons\script.module.arrow\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.beautifulsoup\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.cherrypy\lib;C:\Users\USER\AppData\Roaming\Kodi\addons

\script.module.dateutil\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.metadatautils\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.musicbrainz\lib;C:\Users\USER\AppData\Roaming\Kodi\addons

\script.module.requests\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.simplecache\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.simplejson\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.six

\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.thetvdb\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi

\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
16:09:25.934 T:3644   DEBUG: CPythonInvoker(8, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): entering source directory C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify
16:09:25.936 T:200   DEBUG: ------ Window Init (DialogNotification.xml) ------
16:09:25.936 T:1756   DEBUG: Thread BackgroundLoader start, auto delete: false
16:09:25.938 T:1756   DEBUG: Thread BackgroundLoader 1756 terminating
16:09:25.939 T:3644   DEBUG: CPythonInvoker(8, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): instantiating addon using automatically obtained id of "plugin.audio.spotify" dependent on version 2.1.0 of the

xbmc.python api
16:09:25.952 T:200   DEBUG: CGUIMediaWindow::GetDirectory (addons://repository.marcelveldt/xbmc.addon.audio)
16:09:25.952 T:200   DEBUG:   ParentPath = [addons://repository.marcelveldt/xbmc.addon.audio]
16:09:25.955 T:3772   DEBUG: CAddonDatabase: SELECT repo.id FROM repo .. took 1 ms
16:09:25.955 T:3772   DEBUG: CAddonDatabase: query  SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (8) ORDER BY addons.addonID returned 24 rows in 0 ms
16:09:25.957 T:3772   DEBUG: CAddonDatabase::GetAddons took 3 ms
16:09:25.965 T:1480   DEBUG: -->Python Interpreter Initialized<--
16:09:25.965 T:1480   DEBUG: CPythonInvoker(9, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): the source file to load is "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py"
16:09:25.974 T:3772   DEBUG: CAddonMgr::GetAvailableUpdates took 15 ms
16:09:25.975 T:1480   DEBUG: CPythonInvoker(9, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): setting the Python path to C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify;C:\Users\USER\AppData

\Roaming\Kodi\addons\script.module.arrow\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.beautifulsoup\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.cherrypy\lib;C:\Users\USER\AppData\Roaming\Kodi\addons

\script.module.dateutil\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.metadatautils\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.musicbrainz\lib;C:\Users\USER\AppData\Roaming\Kodi\addons

\script.module.requests\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.simplecache\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.simplejson\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.six

\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.thetvdb\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi

\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
16:09:25.975 T:1480   DEBUG: CPythonInvoker(9, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): entering source directory C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify
16:09:25.977 T:2368   DEBUG: Thread BackgroundLoader start, auto delete: false
16:09:25.979 T:2368   DEBUG: Thread BackgroundLoader 2368 terminating
16:09:25.980 T:200   DEBUG: CGUIMediaWindow::GetDirectory (addons://repository.marcelveldt/xbmc.addon.audio)
16:09:25.980 T:200   DEBUG:   ParentPath = [addons://repository.marcelveldt/xbmc.addon.audio]
16:09:25.982 T:3772   DEBUG: CAddonDatabase: SELECT repo.id FROM repo .. took 0 ms
16:09:25.982 T:3772   DEBUG: CAddonDatabase: query  SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (8) ORDER BY addons.addonID returned 24 rows in 0 ms
16:09:25.984 T:3772   DEBUG: CAddonDatabase::GetAddons took 2 ms
16:09:25.989 T:1480   DEBUG: CPythonInvoker(9, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): instantiating addon using automatically obtained id of "plugin.audio.spotify" dependent on version 2.1.0 of the

xbmc.python api
16:09:26.001 T:3772   DEBUG: CAddonMgr::GetAvailableUpdates took 17 ms
16:09:26.004 T:2928   DEBUG: Thread BackgroundLoader start, auto delete: false
16:09:26.007 T:2928   DEBUG: Thread BackgroundLoader 2928 terminating
16:09:26.162 T:5808   DEBUG: UPnP Translated id to 'library://video/movies/actors.xml/'
16:09:26.162 T:5808    INFO: UPnP: Received Browse DirectChildren request for object 'library://video/movies/actors.xml/', with sort criteria
16:09:26.283 T:5808   DEBUG: CVideoDatabase::GetPeopleNav -  query took 66 ms
16:09:26.417 T:5808   DEBUG: CVideoDatabase::GetPeopleNav item retrieval took 135 ms
16:09:26.775 T:3644   DEBUG: plugin.audio.spotify --> Architecture detected. Using spotty binary C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\spotty\windows\spotty_x64.exe
16:09:26.858 T:3644   DEBUG: plugin.audio.spotify --> ok spotty v0.6.1
16:09:26.864 T:5808   DEBUG: Building UPnP response with filter

'[email protected],[email protected],[email protected],[email protected],dc:creator,[email protected]:cleartextSize,dc:date,upnp:genre,res,[email protected],[email protected],upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author', starting @

1500 with 30 requested

16:09:26.968 T:200   DEBUG: CWinEventsWin32::WndProcWindow is active
16:09:27.174 T:2604   DEBUG: UPnP Translated id to 'library://video/movies/actors.xml/'
16:09:27.174 T:2604    INFO: UPnP: Received Browse DirectChildren request for object 'library://video/movies/actors.xml/', with sort criteria
16:09:27.306 T:2604   DEBUG: CVideoDatabase::GetPeopleNav -  query took 71 ms
16:09:27.465 T:2604   DEBUG: CVideoDatabase::GetPeopleNav item retrieval took 158 ms
16:09:27.587 T:1480   DEBUG: plugin.audio.spotify --> Architecture detected. Using spotty binary C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\spotty\windows\spotty_x64.exe
16:09:27.625 T:1480   DEBUG: plugin.audio.spotify --> ok spotty v0.6.1
16:09:27.627 T:1480   DEBUG: plugin.audio.spotify --> started webproxy at port 52308
16:09:27.962 T:2604   DEBUG: Building UPnP response with filter

'[email protected],[email protected],[email protected],[email protected],dc:creator,[email protected]:cleartextSize,dc:date,upnp:genre,res,[email protected],[email protected],upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author', starting @

1530 with 30 requested
16:09:27.978 T:2604   DEBUG: Returning UPnP response with 30 items out of 11280 total matches
16:09:28.187 T:5808   DEBUG: UPnP Translated id to 'library://video/movies/actors.xml/'
16:09:28.187 T:5808    INFO: UPnP: Received Browse DirectChildren request for object 'library://video/movies/actors.xml/', with sort criteria
16:09:28.292 T:5808   DEBUG: CVideoDatabase::GetPeopleNav -  query took 50 ms
16:09:28.400 T:5808   DEBUG: CVideoDatabase::GetPeopleNav item retrieval took 108 ms
16:09:28.791 T:5808   DEBUG: Building UPnP response with filter

'[email protected],[email protected],[email protected],[email protected],dc:creator,[email protected]:cleartextSize,dc:date,upnp:genre,res,[email protected],[email protected],upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author', starting @

1560 with 30 requested
16:09:29.154 T:1480   DEBUG: plugin.audio.spotify -->
16:09:29.154 T:1480   DEBUG: plugin.audio.spotify --> Couldn't request authentication token. Username/password error ? If you're using a facebook account with Spotify, make sure to generate a device account/password in the Spotify

accountdetails.
16:09:29.199 T:2604   DEBUG: UPnP Translated id to 'library://video/movies/actors.xml/'
16:09:29.199 T:2604    INFO: UPnP: Received Browse DirectChildren request for object 'library://video/movies/actors.xml/', with sort criteria
16:09:29.302 T:2604   DEBUG: CVideoDatabase::GetPeopleNav -  query took 52 ms
16:09:29.413 T:2604   DEBUG: CVideoDatabase::GetPeopleNav item retrieval took 111 ms



RE: Spotify for Kodi - ratimes3 - 2017-09-10

hi there,
has anybody got the last-fm scrobbler working with spotify?

greets
Ra*3
libreelec/raspb2


RE: Spotify for Kodi - vanmanda - 2017-09-11

Hi,

I'm using the Spotify add-on on several Windows 10 PC's with Kodi 17.4.
Everything seems to work fine even the spotify connect feature works fine. I even uninstalled the 'real' spotify player.

I do have one question about the multiple accounts feature.
I have added three accounts, but it seems the add-on only used the first account.
On the first page of the add-on I see an item showing the current account but I do not know how the switch accounts.
When I select that item I expected a pop-up which would allow me to switch accounts, but nothing happens.
Can you explain me how to switch accounts?

Thanks !


RE: Spotify for Kodi - Didko - 2017-09-12

(2017-08-07, 15:06)mazeeff Wrote:
(2017-07-30, 07:33)marcelveldt Wrote:
(2017-07-28, 22:39)mazeeff Wrote: 1.1.40 seems to have fixed the 2:40 problem that several of us encountered on LibreElec 8.0.2 on RPx. Good work!

Edit: Spoke too soon. On any song over 9:00 minutes, the audio cuts out between 8:45 and 8:55, and remains muted till end of song. The play clock continues to end of song, and the audio returns on the next song. Does not appear to create an error. Occurs consistently on LibreElec 8.0.2 X86 and RP3. Pink Floyd Echoes is a good test case!

Edit2: Upgraded my LibreElec X86 box to the latest Milhouse 18.0 nightly, and encountered the same problem.

Can you give 1.1.42 a try if that fixes the issue ?

1.1.42 does not fix the problem. It occurs on all of my systems. Can someone else confirm this? Any song over 9 minutes long results in muting!

- Hardware: X86
- OS: LibreElec 8.0.2 (also fails with latest Milhouse nightly)
- Kodi version: 17.3
- Addon version: 1.1.42

https://pastebin.com/gUDVpzr7

Error appears at the following line, with simple Spotify timeout.

08:54:32.536 T:140449683306240 DEBUG: plugin.audio.spotify --> response timeout !

Same here!
So, I wasn't active for awhile, but now I upgraded my Pi and I've hit the same problem - a song longer than 8:30 min got muted. Was there any workaround for this?


RE: Spotify for Kodi - xgutterratx - 2017-09-13

(2017-09-09, 16:24)BastiB Wrote: Hi there,

thank you for your great work! I really don't know why i did not find that addon earlier...

However, it doesn't work for me by now. As soon as i install/activate it via your repository (v1.142) a windows error message pops up and tells me there is an error in spotty_x64.exe "unknown software exception (0xc00001d) at position 0x00617712" and kodi crashes.

I am using Windows 8 and Kodi 17.4
I already generated a device password and tried to login with it (and username-code / email): wrong credentials. What does the Device-Name needs to be for which a passwort is generated?


Is there a way to use spotty_x86 instead of x64?

the Kodi Logfile.
Code:
16:09:25.875 T:4808   DEBUG: CAddonDatabase: plugin.audio.spotify has been installed.
16:09:25.884 T:4808   DEBUG: CAddonMgr: enabled plugin.audio.spotify
16:09:25.884 T:3644   DEBUG: Thread LanguageInvoker start, auto delete: false
16:09:25.884 T:3644    INFO: initializing python engine.
16:09:25.884 T:3644   DEBUG: CPythonInvoker(8, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): start processing
16:09:25.901 T:3296   DEBUG: ContextMenuManager: addon menus reloaded.
16:09:25.908 T:4808   DEBUG: LocalizeStrings: loaded 63 strings from file C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\language\English\strings.po
16:09:25.908 T:1480   DEBUG: Thread LanguageInvoker start, auto delete: false
16:09:25.909 T:1480    INFO: initializing python engine.
16:09:25.909 T:1480   DEBUG: CPythonInvoker(9, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): start processing
16:09:25.909 T:200   DEBUG: CGUIMediaWindow::GetDirectory (addons://repository.marcelveldt/xbmc.addon.audio)
16:09:25.909 T:200   DEBUG:   ParentPath = [addons://repository.marcelveldt/xbmc.addon.audio]
16:09:25.914 T:3772   DEBUG: CAddonDatabase: SELECT repo.id FROM repo .. took 0 ms
16:09:25.914 T:3772   DEBUG: CAddonDatabase: query  SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (8) ORDER BY addons.addonID returned 24 rows in 0 ms
16:09:25.916 T:3772   DEBUG: CAddonDatabase::GetAddons took 2 ms
16:09:25.918 T:3644   DEBUG: -->Python Interpreter Initialized<--
16:09:25.918 T:3644   DEBUG: CPythonInvoker(8, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): the source file to load is "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py"
16:09:25.933 T:3772   DEBUG: CAddonMgr::GetAvailableUpdates took 17 ms
16:09:25.934 T:3644   DEBUG: CPythonInvoker(8, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): setting the Python path to C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify;C:\Users\USER\AppData

\Roaming\Kodi\addons\script.module.arrow\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.beautifulsoup\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.cherrypy\lib;C:\Users\USER\AppData\Roaming\Kodi\addons

\script.module.dateutil\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.metadatautils\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.musicbrainz\lib;C:\Users\USER\AppData\Roaming\Kodi\addons

\script.module.requests\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.simplecache\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.simplejson\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.six

\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.thetvdb\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi

\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
16:09:25.934 T:3644   DEBUG: CPythonInvoker(8, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): entering source directory C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify
16:09:25.936 T:200   DEBUG: ------ Window Init (DialogNotification.xml) ------
16:09:25.936 T:1756   DEBUG: Thread BackgroundLoader start, auto delete: false
16:09:25.938 T:1756   DEBUG: Thread BackgroundLoader 1756 terminating
16:09:25.939 T:3644   DEBUG: CPythonInvoker(8, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): instantiating addon using automatically obtained id of "plugin.audio.spotify" dependent on version 2.1.0 of the

xbmc.python api
16:09:25.952 T:200   DEBUG: CGUIMediaWindow::GetDirectory (addons://repository.marcelveldt/xbmc.addon.audio)
16:09:25.952 T:200   DEBUG:   ParentPath = [addons://repository.marcelveldt/xbmc.addon.audio]
16:09:25.955 T:3772   DEBUG: CAddonDatabase: SELECT repo.id FROM repo .. took 1 ms
16:09:25.955 T:3772   DEBUG: CAddonDatabase: query  SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (8) ORDER BY addons.addonID returned 24 rows in 0 ms
16:09:25.957 T:3772   DEBUG: CAddonDatabase::GetAddons took 3 ms
16:09:25.965 T:1480   DEBUG: -->Python Interpreter Initialized<--
16:09:25.965 T:1480   DEBUG: CPythonInvoker(9, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): the source file to load is "C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py"
16:09:25.974 T:3772   DEBUG: CAddonMgr::GetAvailableUpdates took 15 ms
16:09:25.975 T:1480   DEBUG: CPythonInvoker(9, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): setting the Python path to C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify;C:\Users\USER\AppData

\Roaming\Kodi\addons\script.module.arrow\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.beautifulsoup\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.cherrypy\lib;C:\Users\USER\AppData\Roaming\Kodi\addons

\script.module.dateutil\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.metadatautils\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.musicbrainz\lib;C:\Users\USER\AppData\Roaming\Kodi\addons

\script.module.requests\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.simplecache\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.simplejson\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.six

\lib;C:\Users\USER\AppData\Roaming\Kodi\addons\script.module.thetvdb\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi

\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
16:09:25.975 T:1480   DEBUG: CPythonInvoker(9, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): entering source directory C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify
16:09:25.977 T:2368   DEBUG: Thread BackgroundLoader start, auto delete: false
16:09:25.979 T:2368   DEBUG: Thread BackgroundLoader 2368 terminating
16:09:25.980 T:200   DEBUG: CGUIMediaWindow::GetDirectory (addons://repository.marcelveldt/xbmc.addon.audio)
16:09:25.980 T:200   DEBUG:   ParentPath = [addons://repository.marcelveldt/xbmc.addon.audio]
16:09:25.982 T:3772   DEBUG: CAddonDatabase: SELECT repo.id FROM repo .. took 0 ms
16:09:25.982 T:3772   DEBUG: CAddonDatabase: query  SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (8) ORDER BY addons.addonID returned 24 rows in 0 ms
16:09:25.984 T:3772   DEBUG: CAddonDatabase::GetAddons took 2 ms
16:09:25.989 T:1480   DEBUG: CPythonInvoker(9, C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\service.py): instantiating addon using automatically obtained id of "plugin.audio.spotify" dependent on version 2.1.0 of the

xbmc.python api
16:09:26.001 T:3772   DEBUG: CAddonMgr::GetAvailableUpdates took 17 ms
16:09:26.004 T:2928   DEBUG: Thread BackgroundLoader start, auto delete: false
16:09:26.007 T:2928   DEBUG: Thread BackgroundLoader 2928 terminating
16:09:26.162 T:5808   DEBUG: UPnP Translated id to 'library://video/movies/actors.xml/'
16:09:26.162 T:5808    INFO: UPnP: Received Browse DirectChildren request for object 'library://video/movies/actors.xml/', with sort criteria
16:09:26.283 T:5808   DEBUG: CVideoDatabase::GetPeopleNav -  query took 66 ms
16:09:26.417 T:5808   DEBUG: CVideoDatabase::GetPeopleNav item retrieval took 135 ms
16:09:26.775 T:3644   DEBUG: plugin.audio.spotify --> Architecture detected. Using spotty binary C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\spotty\windows\spotty_x64.exe
16:09:26.858 T:3644   DEBUG: plugin.audio.spotify --> ok spotty v0.6.1
16:09:26.864 T:5808   DEBUG: Building UPnP response with filter

'[email protected],[email protected],[email protected],[email protected],dc:creator,[email protected]:cleartextSize,dc:date,upnp:genre,res,[email protected],[email protected],upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author', starting @

1500 with 30 requested

16:09:26.968 T:200   DEBUG: CWinEventsWin32::WndProcWindow is active
16:09:27.174 T:2604   DEBUG: UPnP Translated id to 'library://video/movies/actors.xml/'
16:09:27.174 T:2604    INFO: UPnP: Received Browse DirectChildren request for object 'library://video/movies/actors.xml/', with sort criteria
16:09:27.306 T:2604   DEBUG: CVideoDatabase::GetPeopleNav -  query took 71 ms
16:09:27.465 T:2604   DEBUG: CVideoDatabase::GetPeopleNav item retrieval took 158 ms
16:09:27.587 T:1480   DEBUG: plugin.audio.spotify --> Architecture detected. Using spotty binary C:\Users\USER\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\spotty\windows\spotty_x64.exe
16:09:27.625 T:1480   DEBUG: plugin.audio.spotify --> ok spotty v0.6.1
16:09:27.627 T:1480   DEBUG: plugin.audio.spotify --> started webproxy at port 52308
16:09:27.962 T:2604   DEBUG: Building UPnP response with filter

'[email protected],[email protected],[email protected],[email protected],dc:creator,[email protected]:cleartextSize,dc:date,upnp:genre,res,[email protected],[email protected],upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author', starting @

1530 with 30 requested
16:09:27.978 T:2604   DEBUG: Returning UPnP response with 30 items out of 11280 total matches
16:09:28.187 T:5808   DEBUG: UPnP Translated id to 'library://video/movies/actors.xml/'
16:09:28.187 T:5808    INFO: UPnP: Received Browse DirectChildren request for object 'library://video/movies/actors.xml/', with sort criteria
16:09:28.292 T:5808   DEBUG: CVideoDatabase::GetPeopleNav -  query took 50 ms
16:09:28.400 T:5808   DEBUG: CVideoDatabase::GetPeopleNav item retrieval took 108 ms
16:09:28.791 T:5808   DEBUG: Building UPnP response with filter

'[email protected],[email protected],[email protected],[email protected],dc:creator,[email protected]:cleartextSize,dc:date,upnp:genre,res,[email protected],[email protected],upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author', starting @

1560 with 30 requested
16:09:29.154 T:1480   DEBUG: plugin.audio.spotify -->
16:09:29.154 T:1480   DEBUG: plugin.audio.spotify --> Couldn't request authentication token. Username/password error ? If you're using a facebook account with Spotify, make sure to generate a device account/password in the Spotify

accountdetails.
16:09:29.199 T:2604   DEBUG: UPnP Translated id to 'library://video/movies/actors.xml/'
16:09:29.199 T:2604    INFO: UPnP: Received Browse DirectChildren request for object 'library://video/movies/actors.xml/', with sort criteria
16:09:29.302 T:2604   DEBUG: CVideoDatabase::GetPeopleNav -  query took 52 ms
16:09:29.413 T:2604   DEBUG: CVideoDatabase::GetPeopleNav item retrieval took 111 ms

I am also getting an error with spotty_x64.exe
I am using Windows 8 and Kodi 17.4


RE: Spotify for Kodi - ratimes3 - 2017-09-13

hallo marcel,
Thank you for your awesome addons.
I recently used your Spotify app in combination with Squeezebox for Kodi (SfK) and the following things have noticed me:

The quality of sound via SfK is clearly less than when I play through your spotify app and use the local playback device. Adjusting the Lame-quality level in the LMS has no audible effect.

Spotify's made playlists like Discovery weekly and Release Radar, but also the radios do not work if I indicate SfK as playback device.

When i switch from SfK playback device to local playback device ( or the other way around) the music i played before keeps on interfering with new music. only a reboot helps.


I love your addons, I enjoy them everyday!

groeten,
Ra*3

Libreelec
rasp2
LMS 7.7.2


RE: Spotify for Kodi - marcelveldt - 2017-09-13

(2017-09-08, 11:40)Mowa Wrote: The second log from my htpc with debug enabled.
https://pastebin.com/r21qE5qt

Thanks for the log. I think I found why this error was happening to you.
Applied a fix just now and a new version of the add-on will be available on the repo later tonight.


RE: Spotify for Kodi - marcelveldt - 2017-09-13

(2017-09-09, 16:24)BastiB Wrote: However, it doesn't work for me by now. As soon as i install/activate it via your repository (v1.142) a windows error message pops up and tells me there is an error in spotty_x64.exe "unknown software exception (0xc00001d) at position 0x00617712" and kodi crashes.

I have never tested it with Windows 8 but I guess it should work.
Anyways there were reported a few more issues with the x64 version of spotty so I've decided to switch to the x86 version by default.
A new version of the add-on will be on my repo later today. Please have a test with that and let mw know.


RE: Spotify for Kodi - marcelveldt - 2017-09-13

(2017-09-11, 16:58)vanmanda Wrote: I do have one question about the multiple accounts feature.
I have added three accounts, but it seems the add-on only used the first account.
On the first page of the add-on I see an item showing the current account but I do not know how the switch accounts.
When I select that item I expected a pop-up which would allow me to switch accounts, but nothing happens.
Can you explain me how to switch accounts?

If you enter the add-on/plugin at the main level you should see an entry at the bottom with your current user account.
If you just press that there will be a popup with your user accounts, just select another account and it's all set.
If that popup does not appear in your case, there might be an error I missed. Please share your kodi logfile after trying to open that user switch menu.