LMS and Squeezelite for PINE A64+

I use Logitech media server at home for all my FLAC music streaming Rpi as my hardware and would like to use PINE for that purpose as well. I have tried several PINE images to install LMS with no luck- some modules not loading.

I noticed DietPi as an option and I installed the DietPi image on my PINE A64+. Everything went fine. One thing I was missing was the LMS and Squeezelite.

Any chance of including LMS and Squeezelite to PINE A 64 DietPi?

Hi,

Currently Squeezelite + LMS is only available for the RPi. I think we had similar issues with other devices, hence the option for installation is disabled.

I did a test install on Odroid C2 (arm64, I dont have a Pine64 yet), squeezelite seems to be fine, LMS not so much:

root@DietPi:~# /usr/sbin/squeezeboxserver
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser JSO                                                                 N::XS Digest::SHA1 YAML::XS Sub::Name


*******

NOTE:

If you're running some unsupported Linux/Unix platform, please use the buildme.s                                                                 h
script located here:

https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN

If 7.9 is outdated by the time you read this, Replace "7.9" with the major versi                                                                 on
You should never need to do this if you're on Windows or Mac OSX. If the install                                                                 ers
don't work for you, ask for help and/or report a bug.

*******


Exiting..

Lets try to fix the missing errors

wget https://github.com/Logitech/slimserver-vendor/archive/public/7.9.zip -O package.zip
unzip package.zip
rm package.zip

#build prereqs
apt-get install -y build-essential yasm libgd-dev
cd slimserver-vendor-public-7.9/CPAN
./buildme.sh



UNAME_MACHINE = aarch64
UNAME_RELEASE = 3.14.29+
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP PREEMPT Thu May 19 15:57:42 CEST 2016
configure: error: cannot guess build type; you must specify one
./runConfigureICU: ./configure failed
make: *** No targets specified and no makefile found.  Stop.
make failed

Ok i’ve made a ticket for your request so we can look into this for you. I’am not sure when that will be (we have alot of stuff to finish for v119 still): https://github.com/Fourdee/DietPi/issues/354

ok thanks for creating a ticket for my case and looking forward to some progress

any plans on somebody taking a look at this?

Unfortunately, I can’t take more on at the moment. rTorrent is taking much longer than expected for v129, and still lots to finish up: https://github.com/Fourdee/DietPi/milestone/30.

I can only recommend you keep bumping this thread, and/or get users to post on https://github.com/Fourdee/DietPi/issues/354, peaking interest. Popular items and donator requests take higher priority.

Donator requests ? :mrgreen: :mrgreen:

Sorry can’t resist. Like to see this: #472 and #212

What donation do you like? :smiley:

another gadget bought in vain…

From you, not needed :wink:

I’ll take a look at those requests in v130.

I cant promise anything, but i’ll take another look for v130 https://github.com/Fourdee/DietPi/milestone/31. Hoping to get v129 completed and release this week.

Really sad to read this.

You buy a brand new device without a existing community and a scraggy manufacture support?
You are not able or willing to invest time, work or money?
You hopping for Santa Claus coming around and satisfy all of your wishes?

Howling around will change nothing. Sorry, but welcome in real live.

I originally bought a RaspberryPi a few years ago to use LMS and it worked great (I had used SqueezePlug distribution). I’m now using the C2 for Kodi, Transmission, Samba sharing and hope to eventually also to use it for LMS and RetroArch. One of the things that attracted me (with my minimal Linux experience) to DietPi was it’s simple usage and the potential for LMS. Everything else is working amazingly and LMS would just be the icing on the cake if you were able to get it working at either 32bit or 64bit. I’ve made another small donation as your software has been fundamental in getting everything working so far.

Fourdee,

I went to see the ticket and noticed that you had solved the problems with LMS, Thank you very much! I tried building those CPAN modules myself befeore contacting you but my knowledge of Linux was not enough. Thank you for your hard work and effort. Looking forward to trying LMS on my PINE 64A,

Mika

hello,

I installed DietPi on my PINE 64A. All went well, thank you. Where can I force Squeezelite to output to headphone jack? I did not find any DietPi- config to choose the audio output. I managed to make the needed alsamixer settings to get sound out of HP jack by starting SL with o-option

sysdefault:CARD=audiocodec

Where should I make this correction to make it permanent?


If I install Longsleeps Debian with some GUI, is it possible to use the CPAN-modules you already have created for DietPi?

P.S. made a small donation last week :slight_smile:

Usually we would create a asound.conf to set the default audio device. However, I just checked my Pine and appears mixer controls are broken:

root@DietPi:/usr# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndhdmi [sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@DietPi:/usr# amixer -c 0 -D 0 scontrols
ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 0
amixer: Mixer attach 0 error: No such file or directory



If I install Longsleeps Debian with some GUI, is it possible to use the CPAN-modules you already have created for DietPi?

P.S. made a small donation last week > :slight_smile:

We currently use the longsleep kernel in our image. So in theory, yes it should work. Here is the CPAN modules for LMS 7.9 ARM64: http://dietpi.com/downloads/binaries/all/DietPi-LMS7.9-CPAN_arm64.zip

hello,

ok.Thank you for the information about around.conf.


As a workaround

squeezelite now starts as default:

/usr/bin/squeezelite -n DietPi -a 75

where can I change this line to show:

/usr/bin/squeezelite -n DietPi -o sysdefault:CARD=AUDIO


or better my excellent Encore mDSD

/usr/bin/squeezelite -n DietPi -o sysdefault:CARD=mDSD


I now wish to avoid starting manually each time I reboot pine



edited: found the config-file in /etc/default

root@DietPi:/usr# amixer -c 0 -D 0 scontrols
ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL 0
amixer: Mixer attach 0 error: No such file or directory



for me works: alsamixer -c 0

i am also looking for this Thank you for information