Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion GoogleMusic/Plugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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: $@");
}
Expand Down
3 changes: 2 additions & 1 deletion GoogleMusic/Settings.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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: $@");
Expand Down
4 changes: 2 additions & 2 deletions GoogleMusic/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<extension>
<name>PLUGIN_GOOGLEMUSIC</name>
<module>Plugins::GoogleMusic::Plugin</module>
<version>0.4.1</version>
<version>0.4.1.1</version>
<description>PLUGIN_GOOGLEMUSIC_DESC</description>
<creator>Ronald Hecht</creator>
<email>ronald.hecht@gmx.de</email>
<defaultState>enabled</defaultState>
<homepageURL>https://github.com/hechtus/squeezebox-googlemusic</homepageURL>
<homepageURL>https://github.com/nick7634/squeezebox-googlemusic</homepageURL>
<icon>plugins/GoogleMusic/html/images/icon.png</icon>
<optionsURL>plugins/GoogleMusic/settings/basic.html</optionsURL>
<type>2</type>
Expand Down