2018-01-30, 03:43
I've cracked this, what needs to be done is the there needs to be another parameter called device_id that needs to be entered in the settings screen so that the service can be used. This device_id can be retrieved by downloading an app called "device_id" onto your primary Android device and run, and the string you want is called "Google Service Framework (GSF)".
To get round this, I have changed the source code on my kodi box and hard coded the device_id. If you have no idea what I am talking about then I suggest you don't try this
The line I changed is in the python script /addons/plugin.audio.googlemusic.exp/GoogleMusicLogin.py
# self.gmusicapi.login(username, password, self.getDevice() )
self.gmusicapi.login(username, password, '<- insert your GSF here ->' )
So in the above, the first line has been commented out and the second line replaces it with GSF (lowercase is fine) hard coded.
I hope this helps someone.
To get round this, I have changed the source code on my kodi box and hard coded the device_id. If you have no idea what I am talking about then I suggest you don't try this
The line I changed is in the python script /addons/plugin.audio.googlemusic.exp/GoogleMusicLogin.py
# self.gmusicapi.login(username, password, self.getDevice() )
self.gmusicapi.login(username, password, '<- insert your GSF here ->' )
So in the above, the first line has been commented out and the second line replaces it with GSF (lowercase is fine) hard coded.
I hope this helps someone.