Release Experimental Google Music Addon
I have similar problem like MCipher. I tested both last alfa versions (1.4a2 and 1.4a3). I can update datas from google music and browse them, but everytime I try to play song, I get error.

Code:
19:15:13 T:884995136   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': '3578878476221125226', 'Authorization': '<omitted>'}, 'params': {'opt': 'hi', 'songid': '2c52a480-d150-3d1c-b678-4988e172e25b', 'pt': 'e', 'slt': 'xxxxx', 'sig': 'xxxxx', 'net': 'mob'}, '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/.kodi/addons/plugin.audio.googlemusic.exp/default.py", line 13, in <module>
                                                GoogleMusicPlaySong.GoogleMusicPlaySong().play(params)
                                              File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicPlaySong.py", line 13, in play
                                                params = self.__getSongStreamUrl(song_id, params)
                                              File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicPlaySong.py", line 53, in __getSongStreamUrl
                                                params['url'] = self.api.getSongStreamUrl(song_id)
                                              File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicApi.py", line 71, in getSongStreamUrl
                                                stream_url = self.getLogin().getStreamUrl(song_id)
                                              File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicLogin.py", line 34, in getStreamUrl
                                                return self.gmusicapi.get_stream_url(song_id, device_id, quality)
                                              File "<string>", line 2, in get_stream_url
                                              File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/gmusicapi/utils/utils.py", line 251, in wrapper
                                                return function(*args, **kw)
                                              File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/gmusicapi/clients/mobileclient.py", line 248, in get_stream_url
                                                return self._make_call(mobileclient.GetStreamUrl, song_id, device_id, quality)
                                              File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/gmusicapi/clients/shared.py", line 80, in _make_call
                                                return protocol.perform(self.session, self.validate, *args, **kwargs)
                                              File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/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': 'xxxxx', 'Authorization': '<omitted>'}, 'params': {'opt': 'hi', 'songid': 'xxxxx', 'pt': 'e', 'slt': 'xxxxx', 'sig': 'xxxxx', 'net': 'mob'}, '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<--

My config: RaspBerry Pi2 with last OpenElec (Czech Republic); two factor auth enabled

Thanks for your work and this wonderful plugin.
Reply


Messages In This Thread
RE: Experimental Google Music Addon - by Drir - 2014-07-26, 08:21
RE: Experimental Google Music Addon - by SBCV - 2014-11-13, 03:38
RE: Experimental Google Music Addon - by SBCV - 2014-11-16, 23:12
RE: Experimental Google Music Addon - by SBCV - 2014-11-17, 06:06
RE: Experimental Google Music Addon - by Auri - 2016-02-05, 20:03
Experimental Google Music Addon - by huzz456 - 2015-02-19, 01:41
RE: Experimental Google Music Addon - by sealex - 2015-05-29, 19:29
Experimental Google Music Addon - by haarlokk - 2015-06-08, 01:53
RE: Experimental Google Music Addon - by moyn - 2015-12-03, 23:58
RE: Experimental Google Music Addon - by moyn - 2015-12-10, 22:17
RE: Experimental Google Music Addon - by moyn - 2015-12-10, 22:32
RE: Experimental Google Music Addon - by moyn - 2015-12-22, 12:29
RE: Experimental Google Music Addon - by spec - 2016-02-21, 19:13
RE: Experimental Google Music Addon - by spec - 2016-02-27, 20:36
RE: Experimental Google Music Addon - by tibb - 2016-02-29, 19:50
RE: Experimental Google Music Addon - by view - 2016-04-10, 17:44
Experimental Google Music Addon - by sjchmura - 2016-04-10, 18:28
Experimental Google Music Addon - by sjchmura - 2016-04-11, 22:24
Experimental Google Music Addon - by sjchmura - 2016-05-25, 21:14
issues with None from params - by brtkrbzhnv - 2016-08-27, 14:47
Experimental Google Music Addon - by sjchmura - 2016-09-04, 14:29
Experimental Google Music Addon - by sjchmura - 2016-09-11, 15:10
RE: Experimental Google Music Addon - by mrpg - 2016-09-11, 17:27
Experimental Google Music Addon - by sjchmura - 2016-09-11, 18:47
Experimental Google Music Addon - by sjchmura - 2016-09-20, 04:57
RE: Experimental Google Music Addon - by m2c2 - 2016-10-29, 20:16
RE: Experimental Google Music Addon - by nb2a - 2016-11-29, 05:00
RE: Experimental Google Music Addon - by nb2a - 2016-11-30, 17:00
RE: Experimental Google Music Addon - by Tux2 - 2016-12-21, 11:14
RE: Experimental Google Music Addon - by benj - 2017-01-19, 02:51
RE: Experimental Google Music Addon - by nb2a - 2017-01-24, 05:57
RE: Experimental Google Music Addon - by AshG - 2017-01-30, 12:53
RE: Experimental Google Music Addon - by AshG - 2017-01-30, 23:57
RE: Experimental Google Music Addon - by vevs - 2019-04-05, 17:15
RE: Experimental Google Music Addon - by vevs - 2019-05-08, 02:05
Logout Mark Read Team Forum Stats Members Help
Experimental Google Music Addon17