2016-12-24, 11:36
Hi,
I am using LibreELEC 7.0.2. and the Spotify addon is not able to logon and it times out after a few minutes. I am using my facebook account.
I have copied the log below.
What am I doing wrong? Any help is much appreciated.
Thanks,
Jeroen
10:19:00 T:140010347026176 NOTICE: Spotify --> Your platform (x86_64 System.Platform.Linux)
10:19:01 T:140010347026176 NOTICE: Spotify --> Starting background service...
10:19:01 T:140010347026176 NOTICE: Spotify --> Checking remembered_user ..
10:19:01 T:140010347026176 NOTICE: Spotify --> Cached session found
10:19:01 T:140009407502080 NOTICE: Spotify --> logged in: 0
10:19:06 T:140010347026176 NOTICE: Spotify --> starting proxy at port 8090
10:19:06 T:140010347026176 NOTICE: Spotify --> Setting callback ..
10:19:06 T:140010347026176 NOTICE: Spotify --> Obtaining user token ..
10:19:06 T:140010347026176 NOTICE: Spotify --> Encoding header ..
10:19:06 T:140011739522816 ERROR: warning:couldn't read token from cache
10:19:06 T:140011739522816 NOTICE: Spotify --> WebService - start helper webservice on port 52308
10:19:07 T:140011739522816 NOTICE: Spotify --> Waiting for authentication token...
10:20:00 T:140010363811584 NOTICE: Previous line repeats 53 times.
10:20:00 T:140010363811584 NOTICE: ES: Client from 127.0.0.1 timed out
10:20:01 T:140011739522816 NOTICE: Spotify --> Waiting for authentication token...
10:21:08 T:140011739522816 NOTICE: Previous line repeats 66 times.
10:21:08 T:140011739522816 NOTICE: Spotify --> WebService - stop called
10:21:08 T:140009306789632 ERROR: 127.0.0.1 - - [24/Dec/2016 10:21:08] "QUIT / HTTP/1.1" 200 -
10:21:08 T:140011739522816 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<--
10:21:08 T:140011925334080 ERROR: GetDirectory - Error getting plugin://plugin.audio.spotify/
10:21:08 T:140011925334080 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.spotify/) failed
I am using LibreELEC 7.0.2. and the Spotify addon is not able to logon and it times out after a few minutes. I am using my facebook account.
I have copied the log below.
What am I doing wrong? Any help is much appreciated.
Thanks,
Jeroen
10:19:00 T:140010347026176 NOTICE: Spotify --> Your platform (x86_64 System.Platform.Linux)
10:19:01 T:140010347026176 NOTICE: Spotify --> Starting background service...
10:19:01 T:140010347026176 NOTICE: Spotify --> Checking remembered_user ..
10:19:01 T:140010347026176 NOTICE: Spotify --> Cached session found
10:19:01 T:140009407502080 NOTICE: Spotify --> logged in: 0
10:19:06 T:140010347026176 NOTICE: Spotify --> starting proxy at port 8090
10:19:06 T:140010347026176 NOTICE: Spotify --> Setting callback ..
10:19:06 T:140010347026176 NOTICE: Spotify --> Obtaining user token ..
10:19:06 T:140010347026176 NOTICE: Spotify --> Encoding header ..
10:19:06 T:140011739522816 ERROR: warning:couldn't read token from cache
10:19:06 T:140011739522816 NOTICE: Spotify --> WebService - start helper webservice on port 52308
10:19:07 T:140011739522816 NOTICE: Spotify --> Waiting for authentication token...
10:20:00 T:140010363811584 NOTICE: Previous line repeats 53 times.
10:20:00 T:140010363811584 NOTICE: ES: Client from 127.0.0.1 timed out
10:20:01 T:140011739522816 NOTICE: Spotify --> Waiting for authentication token...
10:21:08 T:140011739522816 NOTICE: Previous line repeats 66 times.
10:21:08 T:140011739522816 NOTICE: Spotify --> WebService - stop called
10:21:08 T:140009306789632 ERROR: 127.0.0.1 - - [24/Dec/2016 10:21:08] "QUIT / HTTP/1.1" 200 -
10:21:08 T:140011739522816 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<--
10:21:08 T:140011925334080 ERROR: GetDirectory - Error getting plugin://plugin.audio.spotify/
10:21:08 T:140011925334080 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.spotify/) failed