• 1
  • 24
  • 25
  • 26(current)
  • 27
  • 28
  • 35
WIP Google Music Addon
Fresh Windows 8 install failing, January monthly of Gotham.

Quote:18:03:40 T:1648 NOTICE: Thread LanguageInvoker start, auto delete: false
18:03:40 T:1648 NOTICE: -->Python Interpreter Initialized<--
18:03:40 T:1648 NOTICE: GoogleMusic-0.8exp17 ARGV: ['plugin://plugin.audio.googlemusic/', '12', '?action=play_song&song_id=92303957-4862-3a7c-b2a2-66dbf0a103c1']
18:03:40 T:1648 NOTICE: [GoogleMusic-0.8exp17] Prefetch disabled or URL invalid or expired :
18:03:40 T:1648 NOTICE: warning: could not import appdirs; will use current directory
18:03:41 T:1648 NOTICE: [GoogleMusic-0.8exp17] Loading auth from cache
18:03:41 T:1648 NOTICE: [GoogleMusic-0.8exp17] getSongStreamUrl device: 318bbe4c71789c0c
18:03:41 T:1648 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': '318bbe4c71789c0c', 'Authorization': '<omitted>'}, 'params': {'opt': 'hi', 'songid': '92303957-4862-3a7c-b2a2-66dbf0a103c1', 'pt': 'e', 'slt': '1389135821090', 'sig': 'poc_0PrmlhAzT1X6Um5Mslb8Boo', '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 "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic\default.py", line 50, in <module>
song.play(get("song_id"),params)
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic\GoogleMusicPlaySong.py", line 17, in play
url = self.__getSongStreamUrl(song_id)
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic\GoogleMusicPlaySong.py", line 47, in __getSongStreamUrl
return self.api.getSongStreamUrl(song_id)
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic\GoogleMusicApi.py", line 90, in getSongStreamUrl
stream_url = self.api.get_stream_url(song_id, device_id)
File "<string>", line 2, in get_stream_url
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic\gmusicapi\utils\utils.py", line 228, in wrapper
return function(*args, **kw)
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic\gmusicapi\clients\mobileclient.py", line 221, in get_stream_url
return self._make_call(mobileclient.GetStreamUrl, song_id, device_id)
File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.audio.googlemusic\gmusicapi\clients\shared.py", line 80, in _make_call
return protocol.perform(self.session, self.validate, *args, **kwargs)
File "C:\Users\XBMC\AppData\Roaming\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': '318bbe4c71789c0c', 'Authorization': '<omitted>'}, 'params': {'opt': 'hi', 'songid': '92303957-4862-3a7c-b2a2-66dbf0a103c1', 'pt': 'e', 'slt': '1389135821090', 'sig': 'poc_0PrmlhAzT1X6Um5Mslb8Boo', '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<--
18:03:41 T:1288 ERROR: Playlist Player: skipping unplayable item: 6, path [plugin://plugin.audio.googlemusic/?action=play_song&song_id=92303957-4862-3a7c-b2a2-66dbf0a103c1]

My login info is correct since it shows my library contents.
On my RaspBMC, I can see all my artists/songs/... in my library but I'm not able to play them... "Error Script Failed: plugin.audio.googlemusic". Any solution for this?
I think you have the same error as everyone who tried to play all access song : 403 Forbiden (you can see this in your log of xbmc : /users/[youruser]/appData/Roaming/XBMC/xbmc.log). Actually I don't know if they are solution to solve this...
I didn't have that error before I did the reinstall. A few versions back I was able to play all access just fine.
(2014-01-06, 21:52)foreverguest Wrote: Anyone in this forum is able to play All Access tracks with this addon?

No, still not working with exp17
(2014-01-12, 09:35)RootPhish Wrote:
(2014-01-06, 21:52)foreverguest Wrote: Anyone in this forum is able to play All Access tracks with this addon?

No, still not working with exp17

Here is the same: "Error Contents: GetStreamUrl: 403 Client Error: Forbidden".
Ok, after running some tests with user zoic22 (thanks), found a fix for All Access tracks:

Version 0.8exp18

Let me know if this version works for you.
(2014-01-12, 21:34)foreverguest Wrote: Ok, after running some tests with user zoic22 (thanks), found a fix for All Access tracks:

Version 0.8exp18

Let me know if this version works for you.

Thanks, for me it allows listening to "All Access" songs; however, it no longer is able to open the auto playlists.
Shouldn't impact playlists.

Are there any errors in log?
Works well here. Needed a cookie and cache clean and a restart but then worked.
(2014-01-12, 22:11)foreverguest Wrote: Shouldn't impact playlists.

Are there any errors in log?

Yes, I've uploaded the relevant part here.
v18 works like a charm with all access -thank you!!! :-)

(but cookie and cache clean was needed)
(2014-01-14, 08:03)oggy512 Wrote: v18 works like a charm with all access -thank you!!! :-)

(but cookie and cache clean was needed)

How do you do a cookie and cache clean? Remove .xbmc/temp?
Thanks, version 0.8exp18 worked perfectly for me too.

I just cleaned out the cookie file in .xbmc/addons/plugins.audio.googlemusic/googlemusic_cookie.txt (I can't remember the exact name but it was somewhere around that location). I also did an uninstall of the previous version before installing version 0.8exp18.

Thanks once again.
you can do a cache/cookie clean in the config menu.
system -> addon -> gmusicv18 -> configuration -> advanced
  • 1
  • 24
  • 25
  • 26(current)
  • 27
  • 28
  • 35

Logout Mark Read Team Forum Stats Members Help
Google Music Addon5