Google Music

I have not tested on Windows 7 but I will try it tonight and post my results.

I am not having any luck with a Linux PMS.  I am doing my testing using Plex/Web on another Linux box.  I can get results, but nothing ever plays.

That’s very strange. I’m doing all of my development in Linux. Can you post /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/PMS Plugin Logs/com.plexapp.plugins.googlemusic.log

A copy of the log can be found at http://pastebin.com/H5HhBthi

A copy of the log can be found at http://pastebin.com/H5HhBthi

Are you using the zip file from the original post?  That had not been updated in a long time.  I updated it this evening, so please give it a try and let me know if it works.

I can't get it to work in Windows 7 and I'm not really sure why yet, but I haven't been able to dedicate any time to it.

All future updates will be in the OP.  Please feel free to continue posting comments/questions for support.

I am (and was) cloning the repo from github.  It was a browser issue.  It does not work for me in Chrome, but worked in Firefox and Chromium.  It appears that it may be an extension causing the issue.  Sorry for not testing this first.

To increase the speed, have you considered running a local database such as sqlite for caching the python dictionaries from gmusicapi?  Doing this would then allow for fast searching as well.  I haven't used it, but you may be able to take advantage of something like https://pypi.python.org/pypi/sqlitedict.

This would be a great plugin to get working. I have a Google Music All Access pass and would love to integrate it with Plex.

I'm on Windows 7, give a shout if you'd like any help testing!

This is a great idea guys thanks for working on it!  I'm using the plugin on a linux server and it brings up my google all access account and I see the music album cover and what have you.  When I go to play a song it states that it can't find the file.  This is both on my iOS Client and Plex for Samgung app.  As for Plexweb it just never loads and goes back to the home screen. I'm providing my logs to provide information to you guys if it will help the plug-in development.  Keep up the great work!

Log file with errors is attached

I've made sure to not have my password showing up in plain txt in this log.  for the final client you guys might not want to pass that info to the logs in plain text.

I’m not sure what happened other then me updating my plex server to 0.9.8.3 which is on windows 7 64, but google music is now working on ipad 3, nexus 7 and roku 2 devices. Before updating to my current server it was not working on any of my devices

Thanks for the feedback guys.  I've got another ongoing project that has been sucking up my free time (3D printer!!!) so I haven't been able to dedicate any time to this.  As soon as my desk is free I plan on getting back to it, but it may be a while.  If anyone is interested in improving on it feel free to fork the github project.  I haven't checked the status of gmusicapi lately but they were talking about splitting out the MusicManager functionality which would significantly decrease the dependencies we'd need.  I don't know where they are with that though.

Plugin is working like a champ, and it allowed me to move my music from my Windows desktop to my Linux Server, since I am no longer dependent on iTunes to get to my files/playlists.  My biggest question is around Playlists, I noted you recently implemented the "Shuffle All" up at the root level.  All I miss from the iTunes channel is that this plugin doesn't support shuffling a single playlist.  Can a shuffle be feasibly implemented that is limited to a single playlist within the constraints of the api?


Plugin is working like a champ, and it allowed me to move my music from my Windows desktop to my Linux Server, since I am no longer dependent on iTunes to get to my files/playlists. My biggest question is around Playlists, I noted you recently implemented the "Shuffle All" up at the root level. All I miss from the iTunes channel is that this plugin doesn't support shuffling a single playlist. Can a shuffle be feasibly implemented that is limited to a single playlist within the constraints of the api?


Absolutely. Shouldn't take much actually. I will try and get this added tonight for you.

disturbedkt: What version of PMS are you running and on which flavor of Linux? And which version of the plugin?  The git repo or zip file here?

hey maik, after i grab this from github - how do you install it in plex?

sorry i should mention this was extracted into the plugins directory in c:\program...\plex\ - but I can't see it appearing in the plex ui

just in case it helps anyone else, this got it working:

- unzip bundle to the correct location unlike me C/Users/blah/AppData/Local/Plex Media Server not program files

- disable capability checking on the PMS channel settings

- restart plex

and then it was good to go...

thanks

latest issue for windows 8, pms 0.9.8.3 - get "the media server responded with an error"

i believe the relevant crash is:

--

  File "C:\Users\jjk\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusicapi\webclient.py", line 110, in login
    if not self.session.login(email, password):
  File "C:\Users\jjk\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusicapi\session.py", line 85, in login
    res = ClientLogin.perform(self, email, password)
  File "C:\Users\jjk\AppData\Local\Plex Media Server\Plug-ins\GoogleMusic.bundle\Contents\Libraries\Shared\gmusicapi\protocol\shared.py", line 221, in perform
    raise CallFailure(err_msg, call_name)
CallFailure: ClientLogin: 403 Client Error: Forbidden
--
 
possibly caused by special characters in passwords, are you url encoding spaces and the like?
 
strangely i also now can't get into the google music channel setting to change the password either.
 
hope that helps,

again to help everyone else... :-)

it was indeed an issue with special characters, using a google application specific password with no special chars made access work, this goes in %AppData%/Local/Plex Media Server/Plug-in Support/Preferences/com.plexapp.plugins.googlemusic.xml

now i can see playlists, but not albums nor artists... more "media server responded with an error"

--

raise Framework.exceptions.AttributeException('If no URL is provided, the key and rating_key attributes must be set.')
AttributeException: If no URL is provided, the key and rating_key attributes must be set.
--
 
hey at least playlists work! cool!

Just a bit of feedback...

I installed this plugin on my plex server (ubuntu), and it works great with my roku.

Thanks for your work!