LMS and Squeezelite for PINE A64+

Suggestions for features and software you would like to see in DietPi, goes here.
Gabba
Posts: 25
Joined: Tue Jun 28, 2016 1:48 pm

Re: LMS and Squeezelite for PINE A64+

Post by Gabba »

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.
mrpn900

Re: LMS and Squeezelite for PINE A64+

Post by mrpn900 »

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
mrpn900

Re: LMS and Squeezelite for PINE A64+

Post by mrpn900 »

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 :)
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: LMS and Squeezelite for PINE A64+

Post by Fourdee »

mrpn900 wrote: sysdefault:CARD=audiocodec

Where should I make this correction to make it permanent?
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:

Code: Select all

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 :)
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/al ... _arm64.zip
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
mrpn900

Re: LMS and Squeezelite for PINE A64+

Post by mrpn900 »

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
mrpn900

Re: LMS and Squeezelite for PINE A64+

Post by mrpn900 »

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
jennifermike

Re: LMS and Squeezelite for PINE A64+

Post by jennifermike »

i am also looking for this Thank you for information
Post Reply