hechtus / squeezebox-googlemusic

Squeezebox (Logitech Media Server) Plugin for Google Play Music
103 stars 24 forks source link

Plugin can't install... Hoping you might have some help...? #105

Open WJCFerguson opened 6 years ago

WJCFerguson commented 6 years ago

I'm afraid my slimserver machine is running Ubuntu 14.04, and I'm not ready to do an upgrade just yet, but it may be the crux of my issue :(. However, you may have some suggestions...?:

My plugin fails to load, although the installation steps seemed to go fine, in particular the final ones had no problem (sudo cpanm --notest Inline::Python), but my server.log has the following in it, which looks related to those cpanm steps:

I tried a reboot, and the system is up to date. Perhaps I should put my LMS in a docker container or something so its environment is more current.

[18-05-12 15:55:22.6723] main::init (353) Starting Logitech Media Server (v7.7.5, 1416570306, Thu Nov 27 08:25:11 UTC 2014) perl 5.018002
[18-05-12 15:55:23.0303] Slim::Utils::IPDetect::_init (120) Warning: Couldn't call connect() - falling back to 127.0.0.1
[18-05-12 15:55:23.1223] Slim::Utils::Misc::msg (1311) Warning: [15:55:23.1221] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row.  SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1885
[18-05-12 15:55:23.3390] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::GoogleMusic::Plugin] failed to load:
Can't locate Inline.pm in @INC (you may need to install the Inline module) (@INC contains: /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/share/squeezeboxserver/CPAN/arch/5.18/x86_64-linux-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.18/x86_64-linux-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.18.2/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.18.2/x86_64-linux-gnu-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/5.18/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.18/x86_64-linux-gnu-thread-multi/auto /usr/share/squeezeboxserver/CPAN/arch/x86_64-linux-gnu-thread-multi /usr/share/squeezeboxserver/CPAN/arch/5.18 /usr/share/squeezeboxserver/lib /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/share/squeezeboxserver/CPAN /usr/share/squeezeboxserver /usr/sbin /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 73.
BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/GoogleAPI.pm line 73.
Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20.
BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Settings.pm line 20.
Compilation failed in require at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24.
BEGIN failed--compilation aborted at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/GoogleMusic/Plugin.pm line 24.
Compilation failed in require at (eval 1009) line 1.
BEGIN failed--compilation aborted at (eval 1009) line 1.

[18-05-12 15:55:23.3396] Slim::Utils::PluginManager::load (321) Error: Couldn't load Plugins::GoogleMusic::Plugin
tmancill commented 5 years ago

Hi @WJCFerguson. I run in a docker container for this reason. You can use https://github.com/larsks/docker-image-logitech-media-server as a functioning starting point. I ended up using FROM debian:stretch as the base image for some reason (that I now forget), but it works great, and because the SQUEEZE_VOL is bind-mounted to the filesystem, I don't lose preferences or local plugin modifications when I recreate the container.

tmancill commented 5 years ago

@WJCFerguson I also should have mentioned that I'm using version 0.7.1 of squeezebox-googlemusic available here: https://github.com/squeezebox-googlemusic/squeezebox-googlemusic