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: $@"); } 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: $@"); 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