squeezebox-googlemusic icon indicating copy to clipboard operation
squeezebox-googlemusic copied to clipboard

Can';t load plugin

Open smika opened this issue 9 years ago • 4 comments

After following the 6 steps instructions for the Linux envoiremnet, I've got the follwoing error message in the server.log:

[14-12-15 01:10:59.4612] main::init (368) Starting Logitech Media Server (v7.8.0, 1395409907, Thu Mar 27 13:31:59 PDT 2014) perl 5.020001 [14-12-15 01:11:02.7805] Slim::bootstrap::tryModuleLoad (285) Warning: Module [Plugins::GoogleMusic::Plugin] failed to load: Error -- py_eval raised an exception at /usr/lib/perl5/site_perl/Inline/Python.pm line 177. BEGIN failed--compilation aborted at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 74. Compilation failed in require at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20. BEGIN failed--compilation aborted at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20. Compilation failed in require at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24. BEGIN failed--compilation aborted at /opt/logitechmediaserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24. Compilation failed in require at (eval 829) line 1. BEGIN failed--compilation aborted at (eval 829) line 1.

[14-12-15 01:11:02.7993] Slim::Utils::PluginManager::load (321) Error: Couldn't load Plugins::GoogleMusic::Plugin

Hopefully there is an sollution for this error. I am using archlinux arm v7.

smika avatar Dec 15 '14 00:12 smika

Could you please check that this script: https://raw.githubusercontent.com/hechtus/squeezebox-googlemusic/master/mobile_devices.py is working correctly?

hechtus avatar Dec 15 '14 10:12 hechtus

I got the follwing return:

[root@cubox ~]# ./mobile_devices.py username password Google Play Music for Chrome on Linux | None | DESKTOP_APP | f19e36f8f1078112ee4edc2bd758525e6ed1f891875b10d9490a2d445258c644

smika avatar Dec 15 '14 14:12 smika

So, it seems that you don't have an Android or iOS device registered for Google Play Music. You will definitely need to register a mobile device to get the plugin working.

hechtus avatar Dec 17 '14 07:12 hechtus

I found this issue because I had a similar error when starting up squeezebox server. I had the googlemusic plugin running before, but it failed after a computer restart. I could resolve it by updating the gmusicapi library:

pip install --upgrade git+https://github.com/simon-weber/Unofficial-Google-Music-API.git@develop

Maybe this is helpful for other people.

shred avatar May 10 '15 09:05 shred