From e0669d3921e3203abed48ad37513b474e5b7ed57 Mon Sep 17 00:00:00 2001 From: nick7634 Date: Tue, 19 May 2015 21:06:37 -0400 Subject: [PATCH 1/3] Updated login requirements Now works with Unofficial-Google-Music-API (develop branch, commit b0e05e6) from May 14th and on with new login requirements for device id --- GoogleMusic/Plugin.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GoogleMusic/Plugin.pm b/GoogleMusic/Plugin.pm index c33cf4c..e63c537 100644 --- a/GoogleMusic/Plugin.pm +++ b/GoogleMusic/Plugin.pm @@ -89,8 +89,10 @@ sub initPlugin { # exception. Catch it to allow the plugin to be started. eval { $googleapi->login($prefs->get('username'), - decode_base64($prefs->get('password'))); + decode_base64($prefs->get('password')), + $prefs->get('device_id')); }; + if ($@) { $log->error("Not able to login to Google Play Music: $@"); } From f7bced1e0949db5d06e8661daed2470bfdf85677 Mon Sep 17 00:00:00 2001 From: nick7634 Date: Sat, 23 May 2015 15:19:15 -0400 Subject: [PATCH 2/3] Update --- GoogleMusic/install.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GoogleMusic/install.xml b/GoogleMusic/install.xml index 3141ee3..dd736c4 100644 --- a/GoogleMusic/install.xml +++ b/GoogleMusic/install.xml @@ -2,12 +2,12 @@ PLUGIN_GOOGLEMUSIC Plugins::GoogleMusic::Plugin - 0.4.1 + 0.4.1.1 PLUGIN_GOOGLEMUSIC_DESC Ronald Hecht ronald.hecht@gmx.de enabled - https://github.com/hechtus/squeezebox-googlemusic + https://github.com/nick7634/squeezebox-googlemusic plugins/GoogleMusic/html/images/icon.png plugins/GoogleMusic/settings/basic.html 2 From 5da2fff7875f50e1df333f9c9537d793372d41c4 Mon Sep 17 00:00:00 2001 From: Ryan Melena Date: Thu, 28 May 2015 10:36:03 -0500 Subject: [PATCH 3/3] Fix login issue in settings Mirror fix in Plugin.pm file --- GoogleMusic/Settings.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GoogleMusic/Settings.pm b/GoogleMusic/Settings.pm index 4f934e7..d98b739 100644 --- a/GoogleMusic/Settings.pm +++ b/GoogleMusic/Settings.pm @@ -70,7 +70,8 @@ sub handler { # user is able to disable SSL verification. eval { $googleapi->login($prefs->get('username'), - decode_base64($prefs->get('password'))); + decode_base64($prefs->get('password')), + $prefs->get('device_id')); }; if ($@) { $log->error("Not able to login to Google Play Music: $@");