Release Experimental Google Music Addon
Ok, I tried to play a radio from my Library and get this:
Code:
2019-06-06 10:13:35.861 T:62252  NOTICE: [PlayMusicEXP-2.0~beta2] getStreamUrl song id: T4qwup7lommv7bc6uuqpmr7snfi device:  quality: hi
2019-06-06 10:13:36.130 T:62252   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 for url: https://mclients.googleapis.com/music/mplay?opt=hi&mjck=T4qwup7lommv7bc6uuqpmr7snfi&pt=e&slt=1559780015868&tier=aa&sig=P-i5AqDkrUiaGcCJbrwwbiGtMZk&hl=en_US&dv=0&net=mob
                                            (requests kwargs: {u'url': u'https://mclients.googleapis.com/music/mplay', u'headers': {u'X-Device-ID': '', 'Authorization': u'<omitted>'}, u'allow_redirects': False, u'params': {u'opt': 'hi', u'mjck': 'T4qwup7lommv7bc6uuqpmr7snfi', u'pt': u'e', u'slt': '1559780015868', 'tier': 'aa', u'sig': 'P-i5AqDkrUiaGcCJbrwwbiGtMZk', 'hl': 'en_US', 'dv': 0, u'net': u'mob'}, u'method': u'GET'})
                                            (response was: u'<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\Abba\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\resources\lib\addon.py", line 15, in <module>
                                                PlaySong().play(params)
                                              File "C:\Users\Abba\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\resources\lib\playsong.py", line 16, in play
                                                params = self.__getSongStreamUrl(song_id, params)
                                              File "C:\Users\Abba\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\resources\lib\playsong.py", line 67, in __getSongStreamUrl
                                                wentry_id=params.pop('wentryid', None))
                                              File "C:\Users\Abba\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\resources\lib\api.py", line 49, in getSongStreamUrl
                                                stream_url = self.getLogin().getStreamUrl(song_id, session_token=session_token, wentry_id=wentry_id)
                                              File "C:\Users\Abba\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\resources\lib\login.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 "C:\Users\Abba\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\resources\lib\gmusicapi\utils\utils.py", line 294, in wrapper
                                                return function(*args, **kw)
                                              File "C:\Users\Abba\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\resources\lib\gmusicapi\clients\mobileclient.py", line 453, in get_stream_url
                                                return self._make_call(mobileclient.GetStreamUrl, song_id, device_id, quality)
                                              File "C:\Users\Abba\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\resources\lib\gmusicapi\clients\mobileclient.py", line 45, in _make_call
                                                return super(Mobileclient, self)._make_call(protocol, *args, **kwargs)
                                              File "C:\Users\Abba\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\resources\lib\gmusicapi\clients\shared.py", line 90, in _make_call
                                                return protocol.perform(self.session, self.validate, *args, **kwargs)
                                              File "C:\Users\Abba\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\resources\lib\gmusicapi\protocol\shared.py", line 230, in perform
                                                raise CallFailure(err_msg, call_name)
                                            CallFailure: GetStreamUrl: 403 Client Error: Forbidden for url: https://mclients.googleapis.com/music/mplay?opt=hi&mjck=T4qwup7lommv7bc6uuqpmr7snfi&pt=e&slt=1559780015868&tier=aa&sig=P-i5AqDkrUiaGcCJbrwwbiGtMZk&hl=en_US&dv=0&net=mob
                                            (requests kwargs: {u'url': u'https://mclients.googleapis.com/music/mplay', u'headers': {u'X-Device-ID': '', 'Authorization': u'<omitted>'}, u'allow_redirects': False, u'params': {u'opt': 'hi', u'mjck': 'T4qwup7lommv7bc6uuqpmr7snfi', u'pt': u'e', u'slt': '1559780015868', 'tier': 'aa', u'sig': 'P-i5AqDkrUiaGcCJbrwwbiGtMZk', 'hl': 'en_US', 'dv': 0, u'net': u'mob'}, u'method': u'GET'})
                                            (response was: u'<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<--
2019-06-06 10:13:36.137 T:62252   DEBUG: CPythonInvoker::onExecutionDone(68, C:\Users\Abba\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\resources\lib\addon.py)
2019-06-06 10:13:36.267 T:62252    INFO: Python interpreter stopped
 



EDIT: actually, try to play a radio from anywhere and get the same error


EDIT2: Fixed. I needed to add Device ID after deleting my old plugins preferences.
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
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
RE: Experimental Google Music Addon - by Abbaskip - 2019-06-06, 02:14
Logout Mark Read Team Forum Stats Members Help
Experimental Google Music Addon17