Max2Play Home › Forums › General Questions on Hardware and Max2Play Versions › [SOLVED] Status: Squeezelite not running › Reply To: [SOLVED] Status: Squeezelite not running
12. Dezember 2017 at 17:04
#32901
I got it to auto start Squeezelite and work on boot by putting this in /opt/max2play/custom_autostart.sh The hole file looks like this now.
#!/bin/bash
#Custom Autostart File
#Start squeezelite so Max2Play works on NanoPi NEO Air with NanoHat PCM5102A
sudo -u root -H -s squeezelite -o hw:CARD=Pcm5102a,DEV=0 > /dev/null 2>&1 &
Rebooted it and went to it’s web page and says Status: Squeezelite is running with processID 1175 Your processID will be some other number.
All problems that I know of fix on this now!
-Raymond Day
- This reply was modified 6 years, 9 months ago by Raymond Day.