2017-02-27, 14:20
(2017-02-26, 15:41)Ballistic Wrote: Plugin does not seem to work on Libreelec 8.0 final with Kodi17.
Code:14:39:27.700 T:140013701105408 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'spotipy.oauth2.SpotifyOauthError'>
Error Contents: Bad Request
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.audio.spotify/plugin.py", line 3, in <module>
Main().main()
File "/storage/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1146, in main
if self.checkLoginDetails():
File "/storage/.kodi/addons/plugin.audio.spotify/resources/plugincontent.py", line 1074, in checkLoginDetails
self.token = util.prompt_for_user_token(username)
File "/storage/.kodi/addons/plugin.audio.spotify/resources/libs/spotipy/util.py", line 59, in prompt_for_user_token
token_info = sp_oauth.get_access_token(code)
File "/storage/.kodi/addons/plugin.audio.spotify/resources/libs/spotipy/oauth2.py", line 213, in get_access_token
raise SpotifyOauthError(response.reason)
SpotifyOauthError: Bad Request
-->End of Python script error report<--
14:39:28.356 T:140015729759488 ERROR: GetDirectory - Error getting plugin://plugin.audio.spotify/
14:39:28.357 T:140015729759488 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.spotify/) failed
As far as i can recall i did not change anything but it started working all of a sudden after a few reboots.