Code:
--------------------
pi@3bplus:~ $ sudo nano /etc/systemd/system/squeezelite.service
pi@3bplus:~ $ sudo systemctl daemon-reload
sudo systemctl enable squeezelite.service
sudo systemctl start squeezelite.service
sudo systemctl status squeezelite.service
Created symlink
/etc/systemd/system/multi-user.target.wants/squeezelite.service →
/etc/systemd/system/squeezelite.service.
● squeezelite.service - squeezelite
Loaded: loaded (/etc/systemd/system/squeezelite.service; enabled; vendor
preset: enabled)
Active: active (running) since Thu 2022-12-08 11:52:54 GMT; 79ms ago
Main PID: 801 (squeezelite)
Tasks: 4 (limit: 1596)
CPU: 41ms
CGroup: /system.slice/squeezelite.service
└─801 /usr/bin/squeezelite -n Squeezelite -o front:CARD=Pro,DEV=0
-a 80 4 0 -C 5
Dec 08 11:52:54 3bplus systemd[1]: Started squeezelite.
pi@3bplus:~ $ sudo shutdown -h now
--------------------
This is a Radio Paradise stream, I shut down the raspberry pi with the
sudo command.
The usb icon on the dac flashes for one minute and then goes into
standby.
I wait a few minutes and repower the raspberry pi; the dac comes back to
life, I select a Radio Paradise stream and it plays.
I repeat the process
Then whilstplaying I power off the dac, it goes into standby and then I
unplug it.
I shutdown the the raspberrypi and wait for a few minutes.
Power on the raspberrypi; power up the dac, it autoselects usb
I go to LMS web gui, refresh and select a Radio Paradise stream, music
plays.
I'll adjust the squeezelite output command to match that for Kitus's
output and make a copy of the image.
ronnie
------------------------------------------------------------------------
Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=117179
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss