PDA

View Full Version : Spotty Plugin: Cannot download the Helper Application



wryel
2017-11-16, 10:35
I am running LMS 7.9.0 on a Raspberry Pi 2, and having problems with the helper application. I assume I need it, as right now I can access Spotify using Spotty, but nothing will play. The error I am getting when I check to enable the plugin is:

[17-11-16 12:21:48.7298] Slim::Utils::PluginDownloader::_downloadError (217) unable to download SpottyBinFreeBSD from [neversimple url here - I can't post with it included] - Connect timed out:

I can download the zip using curl, but I then had problems installing it. I tried copying it to a couple of the plugin locations list on the information page, but when I restarted, the Plugin showed 'Plugin failed to load' in the UI, with the error below. I of course unzipped before copying it.

Should this work on a Raspberry Pi 2? Happy to keep trying to manually install it if there is a specific location that I should be copying the plugin folder to.

[17-11-16 11:25:39.1379] Slim::bootstrap::tryModuleLoad (286) Warning: Module [Plugins::SpottyBinFreeBSD::Plugin] failed to load:
Can't locate Plugins/SpottyBinFreeBSD/Plugin.pm in @INC (@INC contains: /var/lib/squeezeboxserver/cache/InstalledPlugins /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabihf-thread-multi-64int /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabihf-thread-multi-64int/auto /usr/share/squeezeboxserver/CPAN/arch/5.14.2/arm-linux-gnueabihf-thread-multi-64int /usr/share/squeezeboxserver/CPAN/arch/5.14.2/arm-linux-gnueabihf-thread-multi-64int/auto /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabihf-thread-multi-64int /usr/share/squeezeboxserver/CPAN/arch/5.14/arm-linux-gnueabihf-thread-multi-64int/auto /usr/share/squeezeboxserver/CPAN/arch/arm-linux-gnueabihf-thread-multi-64int /usr/share/squeezeboxserver/CPAN/arch/5.14 /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.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 1002) line 2.
BEGIN failed--compilation aborted at (eval 1002) line 2.

[17-11-16 11:25:39.1482] Slim::Utils::PluginManager::load (323) Error: Couldn't load Plugins::SpottyBinFreeBSD::Plugin
[17-11-16 11:25:39.4725] Plugins::CastBridge::Plugin::initPlugin (42) $VAR1 = {
'binArch' => 'armhf-linux',
'isDebian' => 1,
'uid' => 'squeezeboxserver',
'osName' => 'Debian',
'osArch' => 'armv7l-linux',
'os' => 'Linux'
};

Edit: Had the wrong error message from the UI

Mnyb
2017-11-16, 12:20
you should not install the free BSD helper unless younactually running fre BSD OS.

Spotty itself comes with its normal helper app.

wryel
2017-11-16, 14:45
you should not install the free BSD helper unless younactually running fre BSD OS.

Spotty itself comes with its normal helper app.

Ok, I see it now in the logs - thanks. So when I try to play a playlist, it loads the track, then skips on to the next one. It probably changes once every couple of seconds. All I see in the logs is:


[17-11-16 16:20:53.0043] Plugins::Spotty::Connect::initHelpers (270) Initializing Spotty Connect helper daemons...

And that is repeated over and over, presumably for each track it tries to play. I set the Spotty log level to Debug, but I don't see any errors or other information apart from where it gets the API token, and entries about clearing the cache after playing a certain number of tracks.

wryel
2017-11-16, 16:50
Ok, enabled some more logging. Looks like it is failing on the conversion? Log excerpt attached.

mherger
2017-11-18, 04:11
What kind of player are you using? Any other 3rd party plugins installed?
--

Michael

wryel
2017-11-18, 07:37
Two UE Radios reverted to SB firmware and a Squeezlite running on the Pi. Same results for both types. Nothing 3rd party installed as far as I know:

24047

wryel
2017-11-20, 07:47
I span up Windows LMS and a Windows SquuezePlay. They work fine together with Spotty, but when I point the Squeezeplay at my Pi, I have the same issue. I realized that I had never updated my Pi firmware, so trying that now. Currently on 4.1.19+.

wryel
2017-11-20, 08:31
No change there. I am on the latest (or, last) version of Wheezy. I wonder if that is to blame, and I should update to Jessie/Stretch. It's horribly slow navigating Spotty as well, although other operations aren't too bad.

mherger
2017-11-20, 08:56
> No change there. I am on the latest (or, last) version of Wheezy. I
> wonder if that is to blame, and I should update to Jessie/Stretch. It's

Oh... yes, I think Wheezy isn't good enough. I remember having seen
issues with older max2play installations which were still based on Wheezy.
--

Michael

wryel
2017-11-21, 06:38
Just put on the latest Max2Play image and it's working perfectly. Thank you!