2013-12-18, 20:59
(This post was last modified: 2013-12-18, 21:00 by jillesv.)
Foreverguest,
I'm happy to say that the empty playlist issue is resolved. I can see my all access items in the playlists and radio. Well done! However if I want to play a song it gives me a script error.. Here is my log:
Thank you in advance
9:51:30 T:140457341343488 NOTICE: Thread BackgroundLoader start, auto delete: false
19:51:32 T:140458024830720 NOTICE: Thread XBPyThread start, auto delete: false
19:51:32 T:140458024830720 NOTICE: -->Python Interpreter Initialized<--
19:51:32 T:140458024830720 NOTICE: GoogleMusic-0.8exp16 ARGV: ['plugin://plugin.audio.googlemusic/', '11', '?path=playlists&playlist_type=user']
19:51:32 T:140458024830720 NOTICE: warning: could not import appdirs; will use current directory
19:51:33 T:140458024830720 NOTICE: CommonFunctions-2.5.1
19:51:33 T:140458024830720 NOTICE: [GoogleMusic-0.8exp16] Getting playlists of type: user
19:51:33 T:140457341343488 NOTICE: Thread BackgroundLoader start, auto delete: false
19:51:34 T:140458024830720 NOTICE: Thread XBPyThread start, auto delete: false
19:51:34 T:140458024830720 NOTICE: -->Python Interpreter Initialized<--
19:51:34 T:140458024830720 NOTICE: GoogleMusic-0.8exp16 ARGV: ['plugin://plugin.audio.googlemusic/', '12', '?path=playlist&playlist_id=eca6c521-9ba8-4cd2-88d9-969a2cd5f2c9']
19:51:34 T:140458024830720 NOTICE: warning: could not import appdirs; will use current directory
19:51:35 T:140458024830720 NOTICE: CommonFunctions-2.5.1
19:51:35 T:140458024830720 NOTICE: [GoogleMusic-0.8exp16] Loading playlist: eca6c521-9ba8-4cd2-88d9-969a2cd5f2c9
19:51:35 T:140457341343488 NOTICE: Thread BackgroundLoader start, auto delete: false
19:51:37 T:140457341343488 NOTICE: Thread XBPyThread start, auto delete: false
19:51:37 T:140457341343488 NOTICE: -->Python Interpreter Initialized<--
19:51:37 T:140457341343488 NOTICE: GoogleMusic-0.8exp16 ARGV: ['plugin://plugin.audio.googlemusic/', '13', '?action=play_song&song_id=Tfbnaiawv55adqfeq32zrbownfq']
19:51:37 T:140457341343488 NOTICE: warning: could not import appdirs; will use current directory
19:51:37 T:140457341343488 NOTICE: [GoogleMusic-0.8exp16] Prefetch disabled or URL invalid or expired :
19:51:37 T:140457341343488 NOTICE: [GoogleMusic-0.8exp16] Loading auth from cache
19:51:37 T:140457341343488 NOTICE: [GoogleMusic-0.8exp16] getSongStreamUrl device: 38e6cfd1de6b2177
19:51:38 T:140457341343488 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'gmusicapi.exceptions.CallFailure'>
Error Contents: GetStreamUrl: 403 Client Error: Forbidden
(requests kwargs: {'headers': {'X-Device-ID': '38e6cfd1de6b2177', 'Authorization': '<omitted>'}, 'params': {'opt': 'hi', 'mjck': 'Tfbnaiawv55adqfeq32zrbownfq', 'pt': 'e', 'slt': '1387392698009', 'sig': '14ryGevkD_kF--35kr-zIDpP_6s', 'net': 'wifi'}, 'url': 'https://android.clients.google.com/music/mplay', 'verify': False, 'allow_redirects': False, 'method': 'GET'})
(response was: '<HTML>\n<HEAD>\n<TITLE>Forbidden</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Forbidden</H1>\n<H2>Error 403</H2>\n</BODY>\n</HTML>\n')
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.audio.googlemusic/default.py", line 50, in <module>
song.play(get("song_id"),params)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/GoogleMusicPlaySong.py", line 20, in play
url = self.__getSongStreamUrl(song_id)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/GoogleMusicPlaySong.py", line 75, in __getSongStreamUrl
return self.api.getSongStreamUrl(song_id)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/GoogleMusicApi.py", line 86, in getSongStreamUrl
stream_url = self.gmusicapi.get_stream_url(song_id, device_id)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/gmusicapi/clients/mobileclient.py", line 216, in get_stream_url
return self._make_call(mobileclient.GetStreamUrl, song_id, device_id)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/gmusicapi/clients/shared.py", line 67, in _make_call
return protocol.perform(self.session, self.validate, *args, **kwargs)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/gmusicapi/protocol/shared.py", line 226, in perform
raise CallFailure(err_msg, call_name)
CallFailure: GetStreamUrl: 403 Client Error: Forbidden
(requests kwargs: {'headers': {'X-Device-ID': '38e6cfd1de6b2177', 'Authorization': '<omitted>'}, 'params': {'opt': 'hi', 'mjck': 'Tfbnaiawv55adqfeq32zrbownfq', 'pt': 'e', 'slt': '1387392698009', 'sig': '14ryGevkD_kF--35kr-zIDpP_6s', 'net': 'wifi'}, 'url': 'https://android.clients.google.com/music/mplay', 'verify': False, 'allow_redirects': False, 'method': 'GET'})
(response was: '<HTML>\n<HEAD>\n<TITLE>Forbidden</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Forbidden</H1>\n<H2>Error 403</H2>\n</BODY>\n</HTML>\n')
-->End of Python script error report<--
19:51:38 T:140459402712896 ERROR: Playlist Player: skipping unplayable item: 2, path [plugin://plugin.audio.googlemusic/?action=play_song&song_id=Tfbnaiawv55adqfeq32zrbownfq]
19:52:30 T:140459402712896 NOTICE: Samba is idle. Closing the remaining connections
19:53:18 T:140458038650624 NOTICE: Thread XBPyThread start, auto delete: false
19:53:18 T:140459402712896 ERROR: Control 50 in window 10502 has been asked to focus, but it can't
19:53:18 T:140458038650624 NOTICE: -->Python Interpreter Initialized<--
19:53:18 T:140458038650624 NOTICE: GoogleMusic-0.8exp16 ARGV: ['plugin://plugin.audio.googlemusic/', '14', '?path=playlist&playlist_id=eca6c521-9ba8-4cd2-88d9-969a2cd5f2c9']
19:53:18 T:140458038650624 NOTICE: warning: could not import appdirs; will use current directory
19:53:19 T:140458038650624 NOTICE: CommonFunctions-2.5.1
19:53:19 T:140458038650624 NOTICE: [GoogleMusic-0.8exp16] Loading playlist: eca6c521-9ba8-4cd2-88d9-969a2cd5f2c9
19:53:19 T:140458881881856 NOTICE: Thread BackgroundLoader start, auto delete: false
19:53:19 T:140458038650624 NOTICE: Thread Jobworker start, auto delete: true
19:53:21 T:140458881881856 NOTICE: Thread XBPyThread start, auto delete: false
19:53:21 T:140457341343488 NOTICE: Thread Jobworker start, auto delete: true
19:53:21 T:140458881881856 NOTICE: -->Python Interpreter Initialized<--
19:53:21 T:140458881881856 NOTICE: GoogleMusic-0.8exp16 ARGV: ['plugin://plugin.audio.googlemusic/', '15', '?action=play_song&song_id=Tafofhzssq6k5w2ur4kiejqorpy']
19:53:21 T:140458881881856 NOTICE: warning: could not import appdirs; will use current directory
19:53:22 T:140458881881856 NOTICE: [GoogleMusic-0.8exp16] Prefetch disabled or URL invalid or expired :
19:53:22 T:140458881881856 NOTICE: [GoogleMusic-0.8exp16] Loading auth from cache
19:53:22 T:140458881881856 NOTICE: [GoogleMusic-0.8exp16] getSongStreamUrl device: 38e6cfd1de6b2177
19:53:22 T:140458881881856 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'gmusicapi.exceptions.CallFailure'>
Error Contents: GetStreamUrl: 403 Client Error: Forbidden
(requests kwargs: {'headers': {'X-Device-ID': '38e6cfd1de6b2177', 'Authorization': '<omitted>'}, 'params': {'opt': 'hi', 'mjck': 'Tafofhzssq6k5w2ur4kiejqorpy', 'pt': 'e', 'slt': '1387392802135', 'sig': '-Q3gKfH7lzTXWxUf9GV5-G31Ihw', 'net': 'wifi'}, 'url': 'https://android.clients.google.com/music/mplay', 'verify': False, 'allow_redirects': False, 'method': 'GET'})
(response was: '<HTML>\n<HEAD>\n<TITLE>Forbidden</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Forbidden</H1>\n<H2>Error 403</H2>\n</BODY>\n</HTML>\n')
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.audio.googlemusic/default.py", line 50, in <module>
song.play(get("song_id"),params)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/GoogleMusicPlaySong.py", line 20, in play
url = self.__getSongStreamUrl(song_id)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/GoogleMusicPlaySong.py", line 75, in __getSongStreamUrl
return self.api.getSongStreamUrl(song_id)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/GoogleMusicApi.py", line 86, in getSongStreamUrl
stream_url = self.gmusicapi.get_stream_url(song_id, device_id)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/gmusicapi/clients/mobileclient.py", line 216, in get_stream_url
return self._make_call(mobileclient.GetStreamUrl, song_id, device_id)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/gmusicapi/clients/shared.py", line 67, in _make_call
return protocol.perform(self.session, self.validate, *args, **kwargs)
File "/storage/.xbmc/addons/plugin.audio.googlemusic/gmusicapi/protocol/shared.py", line 226, in perform
raise CallFailure(err_msg, call_name)
CallFailure: GetStreamUrl: 403 Client Error: Forbidden
(requests kwargs: {'headers': {'X-Device-ID': '38e6cfd1de6b2177', 'Authorization': '<omitted>'}, 'params': {'opt': 'hi', 'mjck': 'Tafofhzssq6k5w2ur4kiejqorpy', 'pt': 'e', 'slt': '1387392802135', 'sig': '-Q3gKfH7lzTXWxUf9GV5-G31Ihw', 'net': 'wifi'}, 'url': 'https://android.clients.google.com/music/mplay', 'verify': False, 'allow_redirects': False, 'method': 'GET'})
(response was: '<HTML>\n<HEAD>\n<TITLE>Forbidden</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Forbidden</H1>\n<H2>Error 403</H2>\n</BODY>\n</HTML>\n')
-->End of Python script error report<--
19:53:22 T:140459402712896 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.audio.googlemusic/?action=play_song&song_id=Tafofhzssq6k5w2ur4kiejqorpy]
19:53:36 T:140459402712896 WARNING: GetLabel - Unknown nodetype requested 0
19:53:36 T:140458881881856 WARNING: Previous line repeats 1 times.
19:53:36 T:140458881881856 NOTICE: Thread BackgroundLoader start, auto delete: false
19:53:44 T:140458881881856 NOTICE: Thread XBPyThread start, auto delete: false
19:53:44 T:140458881881856 NOTICE: -->Python Interpreter Initialized<--
19:53:44 T:140458881881856 NOTICE: GoogleMusic-0.8exp16 ARGV: ['plugin://plugin.audio.googlemusic/', '-1', '?action=clear_cookie']
19:53:45 T:140458881881856 NOTICE: warning: could not import appdirs; will use current directory