2016-05-30, 16:46
Hello, I am attempting to use this with Release 17 Alpha 2 but am getting an error. I can log in and everything and see my playlist, etc. But when I go to open a playlist, or to a point where it should list the songs I get an error. I have included the relevant portions of the log file below. Thanks for all your work on this, as it looks to be an awesome add on.
Code:
10:12:45 T:5832 NOTICE: Spotify --> Your platform (x86_64 System.Platform.Windows)
10:12:45 T:5832 NOTICE: Spotify --> Starting background service...
10:12:45 T:5832 NOTICE: Spotify --> Cached session found
10:12:45 T:2252 NOTICE: Spotify --> logged in: 0
10:12:46 T:4252 ERROR: None
10:12:50 T:5832 ERROR: Previous line repeats 3 times.
10:12:50 T:5832 NOTICE: Spotify --> starting proxy at port 8080
10:12:56 T:4220 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.audio.spotify\plugin.py", line 3, in <module>
Main().main()
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\plugincontent.py", line 1067, in main
self.precacheAllitems()
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\plugincontent.py", line 1081, in precacheAllitems
self.get_playlist(playlist['owner']['id'],playlist["id"])
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\plugincontent.py", line 262, in get_playlist
playlistdetails["tracks"]["items"] = self.prepare_track_listitems(tracks=playlistdetails["tracks"]["items"],playlistdetails=playlist)
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\plugincontent.py", line 473, in prepare_track_listitems
for artist in self.get_followedartists():
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\plugincontent.py", line 874, in get_followedartists
artists = self.prepare_artist_listitems(artists['artists']['items'],isFollowed=True)
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\plugincontent.py", line 657, in prepare_artist_listitems
if item.get("artist"):
AttributeError: 'NoneType' object has no attribute 'get'
-->End of Python script error report<--
10:12:56 T:6116 ERROR: XFILE::CDirectory::GetDirectory - Error getting -