Kodi Community Forum
Release Experimental Google Music Addon - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
---- Thread: Release Experimental Google Music Addon (/showthread.php?tid=200640)



RE: Experimental Google Music Addon - foreverguest - 2016-03-04

(2016-03-04, 17:35)Shogun Wrote: Sorry, i didn't give a proper response...

Albumyear is still missing, related artists would be great too....but everything else looks fine...

I'm really grateful for your efforts..couldn't imagine to use kodi without this addon..Smile
Which skin are you using? I don't see this extra info with Confluence.


RE: Experimental Google Music Addon - Shogun - 2016-03-05

(2016-03-04, 21:02)foreverguest Wrote: Which skin are you using? I don't see this extra info with Confluence.

Haha... i was unaware about that...
I'm using KOver (customized), the requested label is "$INFO[MusicPlayer.Year]"...Wink


RE: Experimental Google Music Addon - sal.p60 - 2016-03-05

Thanks for the amazing addon.

Playlist songs are not added to Library. But playlists are now empty.


RE: Experimental Google Music Addon - tijeff9 - 2016-03-05

Hello

I install the application all goes well I have my music list that synchronize this is the first start but if I present new album adds synconisation is no longer someone can help me
i have the 1.7.1 version

thank you


RE: Experimental Google Music Addon - palmi74 - 2016-03-06

Hi, sorry if I'm asking something already discussed here, but I am not able to play my google library contents to a dlna media renderer in my lan. I get an error like "one or more items failed to play". Are you experiencing the same issue and know whether is there a fix or not? Thank you in advance.


RE: Experimental Google Music Addon - foreverguest - 2016-03-06

(2016-03-05, 09:41)sal.p60 Wrote: Thanks for the amazing addon.

Playlist songs are not added to Library. But playlists are now empty.
All-Access/Unlimited user?


RE: Experimental Google Music Addon - foreverguest - 2016-03-06

(2016-03-05, 20:14)tijeff9 Wrote: Hello

I install the application all goes well I have my music list that synchronize this is the first start but if I present new album adds synconisation is no longer someone can help me
i have the 1.7.1 version

thank you
You have to update the local library every time you change your remote library. Alternatively you can enable a schedule update via addon settings.


RE: Experimental Google Music Addon - QcMax - 2016-03-06

Hi,

I'm trying to use this addon to replace Songza within Kodi. I don't have any song in my Googe Music Library, I just want to use it for the Radio function. I'm having the exact same error than dwg590.

(2016-03-03, 04:26)dwg590 Wrote: Running into an error Sad Help would be greatly appreciated!

Logs at http://xbmclogs.com/pb8ufbna5

Code:
20:48:43 T:140407893391104   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: ListStationTracks: 400 Client Error: Bad Request for url: https://mclients.googleapis.com/sj/v2.0w/radio/stationfeed?alt=json&include-tracks=true
                                            (requests kwargs: {'url': 'https://mclients.googleapis.com/sj/v2.0w/radio/stationfeed', 'headers': {'Content-Type': 'application/json', 'Authorization': '<omitted>'}, 'data': '{"contentFilter": 1, "stations": [{"numEntries": 200, "recentlyPlayed": [], "radioId": "31611afc-d306-3864-ae54-b26bb6758b07"}]}', 'method': 'POST', 'params': {'alt': 'json', 'include-tracks': 'true'}})
                                            (response was: '{\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 "/home/xbmc/.kodi/addons/plugin.audio.googlemusic.exp/default.py", line 23, in <module>
                                                GoogleMusicNavigation.GoogleMusicNavigation().listMenu(params)
                                              File "/home/xbmc/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicNavigation.py", line 135, in listMenu
                                                listItems = self.addSongsFromLibrary(self.api.getStationTracks(station), 'library')
                                              File "/home/xbmc/.kodi/addons/plugin.audio.googlemusic.exp/GoogleMusicApi.py", line 145, in getStationTracks
                                                return self._loadAATracks(self.getApi().get_station_tracks(station_id, num_tracks=200))
                                              File "/home/xbmc/.kodi/addons/plugin.audio.googlemusic.exp/gmusicapi/clients/mobileclient.py", line 829, in get_station_tracks
                                                station_id, num_tracks, recently_played=recently_played)
                                              File "/home/xbmc/.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 "/home/xbmc/.kodi/addons/plugin.audio.googlemusic.exp/gmusicapi/protocol/shared.py", line 225, in perform
                                                raise CallFailure(err_msg, call_name)
                                            CallFailure: ListStationTracks: 400 Client Error: Bad Request for url: https://mclients.googleapis.com/sj/v2.0w/radio/stationfeed?alt=json&include-tracks=true
                                            (requests kwargs: {'url': 'https://mclients.googleapis.com/sj/v2.0w/radio/stationfeed', 'headers': {'Content-Type': 'application/json', 'Authorization': '<omitted>'}, 'data': '{"contentFilter": 1, "stations": [{"numEntries": 200, "recentlyPlayed": [], "radioId": "31611afc-d306-3864-ae54-b26bb6758b07"}]}', 'method': 'POST', 'params': {'alt': 'json', 'include-tracks': 'true'}})
                                            (response was: '{\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<--



RE: Experimental Google Music Addon - sal.p60 - 2016-03-06

(2016-03-06, 17:30)foreverguest Wrote:
(2016-03-05, 09:41)sal.p60 Wrote: Thanks for the amazing addon.

Playlist songs are not added to Library. But playlists are now empty.
All-Access/Unlimited user?

unlimited user


RE: Experimental Google Music Addon - boucchar - 2016-03-07

Hi, I'm trying to use this addon to replace Songza within Kodi. Exactly the same problem that QC MAX and dwg 590:

20:30:05 T:2928 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: 404 Client Error: Not Found for url: https://android.clients.google.com/music/mplay?opt=hi&mjck=Tac3pzgltyc4dmzgey6ys3wzup4&pt=e&slt=1457314204931&sig=BK2oeVYYjzMzg-V7mmHklh_hbaM&net=mob
(requests kwargs: {'headers': {'X-Device-ID': '3594952870585852442', 'Authorization': '<omitted>'}, 'params': {'opt': 'hi', 'mjck': 'Tac3pzgltyc4dmzgey6ys3wzup4', 'pt': 'e', 'slt': '1457314204931', 'sig': 'BK2oeVYYjzMzg-V7mmHklh_hbaM', 'net': 'mob'}, 'url': 'https://android.clients.google.com/music/mplay', 'verify': False, 'allow_redirects': False, 'method': 'GET'})
(response was: '<HTML>\n<HEAD>\n<TITLE>Not Found</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Not Found</H1>\n<H2>Error 404</H2>\n</BODY>\n</HTML>\n')
Traceback (most recent call last):
File "C:\Users\Charles\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\default.py", line 13, in <module>
GoogleMusicPlaySong.GoogleMusicPlaySong().play(params)
File "C:\Users\Charles\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\GoogleMusicPlaySong.py", line 13, in play
params = self.__getSongStreamUrl(song_id, params)
File "C:\Users\Charles\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\GoogleMusicPlaySong.py", line 65, in __getSongStreamUrl
params['url'] = self.api.getSongStreamUrl(song_id)
File "C:\Users\Charles\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\GoogleMusicApi.py", line 81, in getSongStreamUrl
stream_url = self.getLogin().getStreamUrl(song_id)
File "C:\Users\Charles\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\GoogleMusicLogin.py", line 41, in getStreamUrl
return self.gmusicapi.get_stream_url(song_id, device_id, quality)
File "<string>", line 2, in get_stream_url
File "C:\Users\Charles\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\gmusicapi\utils\utils.py", line 251, in wrapper
return function(*args, **kw)
File "C:\Users\Charles\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\gmusicapi\clients\mobileclient.py", line 271, in get_stream_url
return self._make_call(mobileclient.GetStreamUrl, song_id, device_id, quality)
File "C:\Users\Charles\AppData\Roaming\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 "C:\Users\Charles\AppData\Roaming\Kodi\addons\plugin.audio.googlemusic.exp\gmusicapi\protocol\shared.py", line 225, in perform
raise CallFailure(err_msg, call_name)
CallFailure: GetStreamUrl: 404 Client Error: Not Found for url: https://android.clients.google.com/music/mplay?opt=hi&mjck=Tac3pzgltyc4dmzgey6ys3wzup4&pt=e&slt=1457314204931&sig=BK2oeVYYjzMzg-V7mmHklh_hbaM&net=mob
(requests kwargs: {'headers': {'X-Device-ID': '3594952870585852442', 'Authorization': '<omitted>'}, 'params': {'opt': 'hi', 'mjck': 'Tac3pzgltyc4dmzgey6ys3wzup4', 'pt': 'e', 'slt': '1457314204931', 'sig': 'BK2oeVYYjzMzg-V7mmHklh_hbaM', 'net': 'mob'}, 'url': 'https://android.clients.google.com/music/mplay', 'verify': False, 'allow_redirects': False, 'method': 'GET'})
(response was: '<HTML>\n<HEAD>\n<TITLE>Not Found</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Not Found</H1>\n<H2>Error 404</H2>\n</BODY>\n</HTML>\n')
-->End of Python script error report<--


RE: Experimental Google Music Addon - foreverguest - 2016-03-07

boucchar, QcMax, dwg590,

I'm trying to understand why this is happening to you, please inform:
- are you an unlimited subscriber?
- have you ever accessed Google Music with an Android device? if no try accessing and check if something changed


RE: Experimental Google Music Addon - boucchar - 2016-03-07

Hi Forever Guest,

I have a free account and i use Google Play Music app on my Android device since 2 years.

I explain to you my situation:

Google Music interest me because it remplacing Songza. In the past, I had Songza Kodi Plugin to listen radio. Now i want to use Google music for that.

EX: I want to - Browse station/genre/punk/90 pop punk

When i listen that on my android device, no problem, it work perfectly but when i open your addon and goes on the radio, i can open the radio and i see the songs lists but whwn i click on the first song or i click on "play radio", an error occur.... like my log in my precedent post.

Thank you, appreciated


RE: Experimental Google Music Addon - QcMax - 2016-03-07

Hi,

My situation is exactly the same than boucchar.

I have a free account and I've been using Google Play Music for a few years now on my Android but only for downloaded music on my phone.

I want to use your Kodi addon to replace the Songza addon. I can also browse station and I have arts for them but once I click on one of them, I have the error.

Thanks for your help and thanks for the effort you are putting in this addon!


RE: Experimental Google Music Addon - foreverguest - 2016-03-08

My free account doesn't show any radio station on Android app, only local songs.
Maybe it works only on some countries.


RE: Experimental Google Music Addon - foreverguest - 2016-03-08

(2016-03-06, 21:08)sal.p60 Wrote:
(2016-03-06, 17:30)foreverguest Wrote:
(2016-03-05, 09:41)sal.p60 Wrote: Thanks for the amazing addon.

Playlist songs are not added to Library. But playlists are now empty.
All-Access/Unlimited user?

unlimited user

Please test version below for a fix:
plugin.audio.googlemusic.exp-1.7.2


This forum uses Lukasz Tkacz MyBB addons.