Bogg wrote: > Hi, > Starting from a playing sqlite. > > I turn off dac, > > Code: -------------------- > > > tc@pCP:~$ ps | grep squeezelite > 12419 root 0:02 /usr/local/bin/squeezelite -n piCorePlayer -o front:CARD=M6,DEV=0 -a -v > 15212 tc 0:00 grep squeezelite > -------------------- > >
I've also noticed that the squeezelite process hangs around for a while after it has apparently been killed. I've assumed this is to do with it holding on to the output device, but that's just a guess. You could try using the 'Close output setting' - I have it set to 5, which means that the output device will be closed 5 seconds after playback stops. Maybe that will cause the killed process to disappear more quickly. Bogg wrote: > > Restarting from command line > > Code: -------------------- > > > tc@pCP:~$ sudo /usr/local/etc/init.d/squeezelite restart > Restarting Squeezelite player... > Squeezelite is not running. > Starting Squeezelite player: Squeezelite... > -------------------- > > That's really odd. The command line that you typed is exactly the same one that the script issues, so I'm at a loss as to why it's not working when called by the script in your case. It shouldn't matter that there's still a squeezelite process hanging around, since the command is asking it to -*re*-start (which I believe means it tries to kill the old process before starting a new one). Just for further clues, what happens if you boot your Pi with the DAC disconnected, and then connect it? Does Squeezelite start up in that case? ------------------------------------------------------------------------ chill's Profile: http://forums.slimdevices.com/member.php?userid=10839 View this thread: http://forums.slimdevices.com/showthread.php?t=113661 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
