Closed Fourdee closed 8 years ago
Appears the 7.9 nightly builds have dropped support for ARMv6 architecture (RPi v1). v7.8 supports ARMv6, can't be launched from cli, same error as https://github.com/Fourdee/DietPi/issues/123 :
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
7.8 run from /etc/init.d/logitechmediaserver service. Change to service based?
7.8 /etc/init.d/logitechmediaserver: Fails to start on ARMv6, fine on ARMv7. Seems the service is not the issue.
Both 7.8 & 7.9 /etc/init.d/logitechmediaserver ignores SLIMUSER= and always runs as user squeezeboxserver: The following has no effect:
sed -i "/SLIMUSER=/c\SLIMUSER=root" /etc/default/logitechmediaserver
sed -i "/SLIMUSER=/c\SLIMUSER=root" /etc/init.d/logitechmediaserver
So 3 issues:
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
Disabled in DietPi-Software for ARMv6, until I (or anyone else) can find a workaround.
Seems like I got it working on a Raspberry Pi B 512MB, DietPi Jessie v105, using this guide as a reference: http://forums.slimdevices.com/showthread.php?104515-Squeezebox-server-stopped-working-after-upgrade-to-Jessie-on-raspberrypi&p=834976&viewfull=1#post834976
But got 100% CPU usage, so after reading this: https://github.com/Fourdee/DietPi/issues/65
So this seems to do the job:
wget http://dietpi.com/downloads/binaries/all/logitechmediaserver_7.9.0_all.deb dpkg -i logitechmediaserver_7.9.0_all.deb service logitechmediaserver stop wget http://download1642.mediafire.com/p50pznj996dg/153ccfm16lb5ka2/logitechmediaserver_7.9.0_CPAN_5.20_armv6hf.tar.gz tar xvzf logitechmediaserver_7.9.0_CPAN_5.20_armv6hf.tar.gz -C / update-rc.d logitechmediaserver remove rm /etc/init.d/logitechmediaserver rm /etc/default/logitechmediaserver cp /DietPi/dietpi/conf/squeezeboxserver_init /etc/squeezeboxserver_init chmod +x /etc/squeezeboxserver_init
Reboot and voila!
Plays mp3 fine, didn't try other codecs, nor in Wheezy.
Hope it helps.
@masterxilef :+1: I will give this a spin tomorrow on my Zero. If all goes well, I'll update the installation code and enable for v106. Thanks for sharing!
@masterxilef You are a legend :+1: . Working perfectly! I've updated and re-enabled the code. Will be available for install (again :)) in next release (v106)
Glad I could help. Did you tried on Wheezy?
@masterxilef Yep, working on Wheezy :+1: :