User/Password based auth with gmusicapi has started failing for me. When I restarted the 'GMusicProxy' after months of uptime, it would not log in and neither would my LMS installation.
After some hunting and research, the OAuth login method is still working well, and I wanted to drop a note here for those like myself who are still clinging to Google Music. You need to upgrade the underlying 'gmusicapi' to at least 1.11.1 (that's what I used since 1.12.0 had some dependency issue on my old systems) Next, amend the 'Plugin.pm' 'initPlugin' function (around line 88) to this: # Try to login. If SSL verification fails, login() raises an # exception. Catch it to allow the plugin to be started. eval { $googleapi->oauth_login($prefs->get('device_id')); }; if ($@) { $log->error("Not able to login to Google Play Music: $@"); } Since we are no longer sending a username or password, we need to get an OAuth token block. The easiest way to do this is to use a new version of GMusicProxy from this repo: https://github.com/jeffmhubbard/gmusicproxy Run 'GMusicProxy --oauth' - it'll generate a web URL that you paste into your browser, authenticate with Google, and will write out a local file. Restart LMS and watch the logs - it will probably complain something like Plugins::GoogleMusic::Plugin::initPlugin (93) Not able to login to Google Play Music: exceptions.IOError: [Errno 13] Permission denied: u'/usr/share/squeezeboxserver/.local/share/gmusicapi/mobileclient.cred' at line 183 Copy the OAuth file creds file to that location, maybe mess around with file permissions so the LMS user has access to read the file, restart LMS again and you should be back in business. Hope that helps someone. ------------------------------------------------------------------------ gdhgdh's Profile: http://forums.slimdevices.com/member.php?userid=62957 View this thread: http://forums.slimdevices.com/showthread.php?t=105800 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins