Hello I'm currently trying to share from my Google Music app to the plugin via Yatse, I know this worked before but now when I do it this is the error I'm getting. Any help would be greatly appreciated.
Code:
00:45:02 20274.761719 T:916927392 NOTICE: [GoogleMusicEXP-1.9.2] ARGV: ['plugin://plugin.audio.googlemusic.exp/', '1', '?action=play_song&song_id=Trruybaebjljyt6vt72c2bu5spu?t=Another_Way_Out_-_Hollywood_Undead']
00:45:03 20275.558594 T:916927392 NOTICE: [GoogleMusicEXP-1.9.2] Loading auth from cache
00:45:03 20275.878906 T:916927392 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: GetStoreTrack: 400 Client Error: Bad Request for url: https://mclients.googleapis.com/sj/v2.4/fetchtrack?alt=json&hl=en_US&nid=Trruybaebjljyt6vt72c2bu5spu%3Ft
(requests kwargs: {'url': 'https://mclients.googleapis.com/sj/v2.4/fetchtrack', 'headers': {'Content-Type': 'application/json', 'Authorization': '<omitted>'}, 'params': {'alt': 'json', 'hl': 'en_US', 'nid': 'Trruybaebjljyt6vt72c2bu5spu?t'}, 'method': 'GET'})
(response was: u'{\n "error": {\n "errors": [\n {\n "domain": "global",\n "reason": "badRequest",\n "message": "Bad Request"\n }\n ],\n "code": 400,\n "message": "Bad Request"\n }\n}\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 46, in __getSongStreamUrl
song = self.api.getTrack(song_id)
File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicApi.py", line 145, in getTrack
return self._convertStoreTrack(self.getApi().get_track_info(trackid))
File "<string>", line 2, in get_track_info
File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/gmusicapi/utils/utils.py", line 291, in wrapper
return function(*args, **kw)
File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/gmusicapi/clients/mobileclient.py", line 1277, in get_track_info
return self._make_call(mobileclient.GetStoreTrack, store_track_id)
File "/storage/.kodi/addons/plugin.audio.googlemusic.exp/gmusicapi/clients/shared.py", line 81, 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 225, in perform
raise CallFailure(err_msg, call_name)
CallFailure: GetStoreTrack: 400 Client Error: Bad Request for url: https://mclients.googleapis.com/sj/v2.4/fetchtrack?alt=json&hl=en_US&nid=Trruybaebjljyt6vt72c2bu5spu%3Ft
(requests kwargs: {'url': 'https://mclients.googleapis.com/sj/v2.4/fetchtrack', 'headers': {'Content-Type': 'application/json', 'Authorization': '<omitted>'}, 'params': {'alt': 'json', 'hl': 'en_US', 'nid': 'Trruybaebjljyt6vt72c2bu5spu?t'}, 'method': 'GET'})
(response was: u'{\n "error": {\n "errors": [\n {\n "domain": "global",\n "reason": "badRequest",\n "message": "Bad Request"\n }\n ],\n "code": 400,\n "message": "Bad Request"\n }\n}\n')
-->End of Python script error report<--
Current Setup:
Raspberry Pi 3
OpenELEC with Jarvis
Plugin Version 1.9.2
I can use it manually through Kodi no problem but would love to be able to share from phone any playlist, album, song. I know we got this to work before when I was able to get the Yatse programmer to send the info but if this is incorrect now I'd be happy to reach back out
Thanks for the amazing plugin. [/quote]