GoogleMusic.bundle
GoogleMusic.bundle copied to clipboard
"This channel is not responding."
Everything has been working great for 6 months, then today...
2015-05-26 18:00:01,678 (1308) : CRITICAL (core:572) - Exception (most recent call last):
File "C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 843, in handle_request
result = f(**d)
File "C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\handlers\base.py", line 111, in call
result = self.func(*args, **kwargs)
File "C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Code\__init__.py", line 47, in MainMenu
API.authenticate(Prefs['email'], Prefs['password'])
File "C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusic.py", line 66, in authenticate
self._set_all_access()
File "C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusic.py", line 38, in _set_all_access
settings = self._webclient._make_call(webclient.GetSettings, '')
File "C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusicapi\clients\shared.py", line 80, in _make_call
return protocol.perform(self.session, self.validate, *args, **kwargs)
File "C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusicapi\protocol\shared.py", line 208, in perform
response = session.send(req_kwargs, cls.required_auth)
File "C:\Users\xxx\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusicapi\session.py", line 81, in send
raise NotLoggedIn
NotLoggedIn
Unsure how to debug this. I logged in with a new app specific password and still have this error. I know that the web interface recently changed, so I wonder if whatever library you are using needs to change as well.
Seems like the API has changed as well. We are starting to get more issue reports https://forums.plex.tv/index.php/topic/110896-rel-google-music-channel/?p=940629
I will take a look at it this week.
Any news?
Unfortunately not yet. I don't have a GPMAA account anymore so it might be a little difficult to get addressed. I will let you know.
This is a major bummer. Please let me know if there is any way I can help.
I'd be glad to throw a few bucks towards your GMPAA account if that'd help.
Yes, count me in also. Would love to donate for further development.
Third that.
+1
I have started the process of getting this fixed. I am running into some environmental issues as of now but I am making some progress. I truly appreciate everyone wanting to donate for further development but I don't think thats necessary as of now. I'm thinking I can sign up for a 30 day free trial once I've straightened out my other issues.
May have it been a regression on Google's end that they have since fixed? Just checked the channel today and it seems to be working :O
Too soon, I can view the artwork and browse stations, but playing the music doesn't work.
How is it going? Please tell us if we can help you somehow.
up and running hear ! :)
Currently working for me, and it's AWESOME! Thanks @jwdempsey!
I actually haven't made much progress on this. I'm still having some environmental issues that are somewhat unrelated. It sounds like it might be working for some folks but not for others. My plan is still get this plugin updated to use the very latest gmusicapi which should make this work for everyone.
Thanks @jwdempsey!
Now the plugin starts, shows playlists and albumarts, but nevertheless it doesn't play any audio =( Seems like I got a bit different events in logs. BTW I tried to simply replace gmusicapi with new one and the plugin stopped working, so I had to revert to the bundled one. Here are my plugin logs:
2015-06-21 14:46:08,033 (27a4) : CRITICAL (core:572) - Exception (most recent call last):
File "C:\Users\MyUsername\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 843, in handle_request
result = f(**d)
File "C:\Users\MyUsername\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Code\__init__.py", line 447, in PlayAudio
song_url = API.get_stream_url(storeId)
File "C:\Users\MyUsername\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusic.py", line 301, in get_stream_url
stream_url = self._mobileclient.get_stream_url(id, self._device)
File "<string>", line 2, in get_stream_url
File "C:\Users\MyUsername\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusicapi\utils\utils.py", line 288, in wrapper
return function(*args, **kw)
File "C:\Users\MyUsername\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusicapi\clients\mobileclient.py", line 235, in get_stream_url
if len(device_id) == 16 and re.match('^[a-z0-9]*$', device_id):
TypeError: object of type 'NoneType' has no len()
2015-06-21 14:46:08,036 (27a4) : DEBUG (runtime:918) - Response: [500] 1331 bytes
And here are PMS logs:
Jun 21, 2015 15:02:29:306 [9752] DEBUG - Request: [192.168.93.104:36460] GET /music/googlemusic/getstationtracks?name=I%27m+Feeling+Lucky+Radio&id=IFL (2 live)
Jun 21, 2015 15:02:29:306 [9752] DEBUG - Plug-in com.plexapp.plugins.googlemusic has been used 114 times.
Jun 21, 2015 15:02:29:322 [9752] DEBUG - [com.plexapp.plugins.googlemusic] Sending command over HTTP (GET): /music/googlemusic/getstationtracks?name=I%27m+Feeling+Lucky+Radio&id=IFL
Jun 21, 2015 15:02:29:322 [9752] DEBUG - HTTP requesting to: http://127.0.0.1:13107/music/googlemusic/getstationtracks?name=I%27m+Feeling+Lucky+Radio&id=IFL
Jun 21, 2015 15:02:30:150 [9752] DEBUG - [com.plexapp.plugins.googlemusic] HTTP reply status 200, with 358222 bytes of content.
Jun 21, 2015 15:02:30:150 [5428] DEBUG - Completed: [192.168.93.104:36460] GET /music/googlemusic/getstationtracks?name=I%27m+Feeling+Lucky+Radio&id=IFL (2 live) 842ms 358412 bytes 200
Jun 21, 2015 15:02:31:104 [4536] DEBUG - Request: [192.168.93.111:53361] GET /photo/:/transcode/768x768/http%3A%2F%2F127.0.0.1%3A32400%2Fmusic%2Fgooglemusic%2Fgetstationtracks%3Fname%3DI%2527m%2BFeeling%2BLucky%2BRadio%26id%3DIFL%2F?url=http%3A%2F%2F127.0.0.1%3A32400%2Fmusic%2Fgooglemusic%2Fgetstationtracks%3Fname%3DI%2527m%2BFeeling%2BLucky%2BRadio%26id%3DIFL%2F&width=768&height=768 (2 live) GZIP
Jun 21, 2015 15:02:31:120 [4536] DEBUG - Photo transcoder: Request for url [http://127.0.0.1:32400/music/googlemusic/getstationtracks?name=I%27m+Feeling+Lucky+Radio&id=IFL/] (is local: 1 upscaled: 0)
Jun 21, 2015 15:02:31:120 [4536] DEBUG - Plug-in com.plexapp.plugins.googlemusic has been used 115 times.
Jun 21, 2015 15:02:31:120 [4536] DEBUG - [com.plexapp.plugins.googlemusic] Sending command over HTTP (GET): /music/googlemusic/getstationtracks?name=I%27m+Feeling+Lucky+Radio&id=IFL/
Jun 21, 2015 15:02:31:120 [4536] DEBUG - HTTP requesting to: http://127.0.0.1:13107/music/googlemusic/getstationtracks?name=I%27m+Feeling+Lucky+Radio&id=IFL/
Jun 21, 2015 15:02:31:213 [4536] DEBUG - [com.plexapp.plugins.googlemusic] HTTP reply status 500, with 1926 bytes of content.
Jun 21, 2015 15:02:31:213 [4536] DEBUG - Calling back into ourselves for photo to transcode, optimizing the process (status: 500)
Jun 21, 2015 15:02:31:213 [5428] DEBUG - Completed: [192.168.93.111:53361] GET /photo/:/transcode/768x768/http%3A%2F%2F127.0.0.1%3A32400%2Fmusic%2Fgooglemusic%2Fgetstationtracks%3Fname%3DI%2527m%2BFeeling%2BLucky%2BRadio%26id%3DIFL%2F?url=http%3A%2F%2F127.0.0.1%3A32400%2Fmusic%2Fgooglemusic%2Fgetstationtracks%3Fname%3DI%2527m%2BFeeling%2BLucky%2BRadio%26id%3DIFL%2F&width=768&height=768 (2 live) GZIP 101ms 342 bytes 404
Jun 21, 2015 15:02:32:339 [9752] DEBUG - Request: [192.168.93.111:53364] GET /music/googlemusic/playaudio.mp3?storeId=Tguxi3rdumiotasi6k4flsv6yjq&id=0 (3 live)
Jun 21, 2015 15:02:32:339 [9752] DEBUG - Request range: 0 to 1
Jun 21, 2015 15:02:32:339 [9752] DEBUG - Plug-in com.plexapp.plugins.googlemusic has been used 116 times.
Jun 21, 2015 15:02:32:339 [9752] DEBUG - [com.plexapp.plugins.googlemusic] Sending command over HTTP (GET): /music/googlemusic/playaudio.mp3?storeId=Tguxi3rdumiotasi6k4flsv6yjq&id=0
Jun 21, 2015 15:02:32:339 [9752] DEBUG - HTTP requesting to: http://127.0.0.1:13107/music/googlemusic/playaudio.mp3?storeId=Tguxi3rdumiotasi6k4flsv6yjq&id=0
Jun 21, 2015 15:02:32:354 [9752] DEBUG - [com.plexapp.plugins.googlemusic] HTTP reply status 500, with 1331 bytes of content.
Jun 21, 2015 15:02:32:354 [5428] DEBUG - Completed: [192.168.93.111:53364] GET /music/googlemusic/playaudio.mp3?storeId=Tguxi3rdumiotasi6k4flsv6yjq&id=0 (3 live) 18ms 1517 bytes 500
I also gave it a quick try. It seems that the new gmusicapi has some new dependencies. I ended up in downloading pycrypto, but as I don't master python (yet), I got stuck. The plugin could not find a module named "number", which resides in Crypto.Util. I tried to import it, but failed.
Hi
Followed and used this channel on plex forum since long time...did subscribe for an all access account but looks like the channel is also not working for me - channel not responding
Downloaded the lastest bundle and copy/paste the content in the plex plugins folder, restarted server, channel is there but not responding...
I already had this type of issue and it was due to my gmail account security but not sure it is related
Any helps (as the plex forum is not reachable for now)
Thanks
Some fresh logs
2015-07-05 09:20:35,304 (-4f0074c0) : DEBUG (runtime:106) - Sending packed state data (112 bytes) 2015-07-05 09:20:35,309 (-4f0074c0) : DEBUG (runtime:918) - Response: [500] 1973 bytes 2015-07-05 09:21:08,376 (-4f0074c0) : DEBUG (runtime:717) - Handling request GET /music/googlemusic 2015-07-05 09:21:08,389 (-4f0074c0) : DEBUG (runtime:814) - Found route matching /music/googlemusic 2015-07-05 09:21:09,329 (-4f0074c0) : CRITICAL (runtime:883) - Exception (most recent call last): File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request result = f(*_d) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/handlers/base.py", line 111, in call result = self.func(_args, *_kwargs) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/GoogleMusic.bundle/Contents/Code/init.py", line 47, in MainMenu API.authenticate(Prefs['email'], Prefs['password']) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/GoogleMusic.bundle/Contents/Libraries/Shared/gmusic.py", line 66, in authenticate self._set_all_access() File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/GoogleMusic.bundle/Contents/Libraries/Shared/gmusic.py", line 38, in _set_all_access settings = self._webclient._make_call(webclient.GetSettings, '') File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/GoogleMusic.bundle/Contents/Libraries/Shared/gmusicapi/clients/shared.py", line 80, in _make_call return protocol.perform(self.session, self.validate, *args, *_kwargs) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/GoogleMusic.bundle/Contents/Libraries/Shared/gmusicapi/protocol/shared.py", line 208, in perform response = session.send(req_kwargs, cls.required_auth) File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/GoogleMusic.bundle/Contents/Libraries/Shared/gmusicapi/session.py", line 81, in send raise NotLoggedIn NotLoggedIn
2015-07-05 09:21:09,349 (-4f0074c0) : DEBUG (runtime:106) - Sending packed state data (112 bytes) 2015-07-05 09:21:09,353 (-4f0074c0) : DEBUG (runtime:918) - Response: [500] 1973 bytes
I have not had time to look into this as of yet unfortunately. I do not need any additional logs at this point because I know what the issue is.
Thanks jwdempsey. I appreciate your efforts.
The major issue I have right now is getting Plex to play nice with the gmusicapi library. The requirements changed for gmusicapi and I am unable to satisfy those inside of Plex.
Any updates or is this plugin dead now? :(
Any update on this?
It's being solved in #13.
Did this die again for Windows? I am unable to load the plugin, get a timeout message on either the server or the channel. This is the last bit from the log, verified user/password. Let me know if you'd like more. {reposted in issues}
2015-12-16 18:29:56,993 (3970) : DEBUG (runtime:717) - Handling request GET /music/googlemusic
2015-12-16 18:29:56,993 (3970) : DEBUG (runtime:49) - Received packed state data (80 bytes)
2015-12-16 18:29:56,994 (3970) : DEBUG (runtime:814) - Found route matching /music/googlemusic
2015-12-16 18:29:57,737 (3970) : CRITICAL (core:572) - Exception (most recent call last):
File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/handlers/base.py", line 111, in call
File "F:\Local Data - SH\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Code\__init__.py", line 47, in MainMenu
API.authenticate(Prefs['email'], Prefs['password'])
File "F:\Local Data - SH\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusic.py", line 66, in authenticate
self._set_all_access()
File "F:\Local Data - SH\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusic.py", line 38, in _set_all_access
settings = self._webclient._make_call(webclient.GetSettings, '')
File "F:\Local Data - SH\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusicapi\clients\shared.py", line 80, in _make_call
return protocol.perform(self.session, self.validate, *args, **kwargs)
File "F:\Local Data - SH\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusicapi\protocol\shared.py", line 208, in perform
response = session.send(req_kwargs, cls.required_auth)
File "F:\Local Data - SH\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusicapi\session.py", line 81, in send
raise NotLoggedIn
NotLoggedIn
2015-12-16 18:29:57,742 (3970) : DEBUG (runtime:106) - Sending packed state data (112 bytes)
2015-12-16 18:29:57,743 (3970) : DEBUG (runtime:924) - Response: [500] 1591 bytes
Malfunction, mine is working fine on Windows 7. You may want to look at the thread on Plex forums for details on making the latest version work.
This fix works perfectly. I think the only problem is people are first trying an older download of this plugin from outdated forum posts. It took me a couple of tries to find tbis download. Now my family can enjoy Google Music Family plan on our Roku Player. Thank you so much for tbis irreplaceable Plex Plugin!!
I had this plugin working on the raspberry pi2, however I upgraded plex to latest and now I get the channel not responding error. My logs show a 500 error: DEBUG - Request: [192.168.1.64:29558] GET /music/googlemusic (8 live) GZIP Jan 04, 2016 14:36:40 [0x69bff400] DEBUG - Plug-in com.plexapp.plugins.googlemusic has been used 8 times. Jan 04, 2016 14:36:40 [0x69bff400] DEBUG - [com.plexapp.plugins.googlemusic] Sending command over HTTP (GET): /music/googlemusic Jan 04, 2016 14:36:40 [0x69bff400] DEBUG - HTTP requesting GET http://127.0.0.1:43745/music/googlemusic Jan 04, 2016 14:36:41 [0x69bff400] DEBUG - [com.plexapp.plugins.googlemusic] HTTP reply status 500, with 1807 bytes of content. Jan 04, 2016 14:36:41 [0x727ff400] DEBUG - Completed: [192.168.1.64:29558] GET /music/googlemusic (8 live) GZIP 888ms 892 bytes 500 (pipelined: 13)
Anyone else see this one?