DJanGo wrote: > Hi, > > > > > Code: -------------------- > > > ps aux |grep squeezeboxserver && /etc/squeezelite-player/squeezelite -n nameoftheplayer 127.0.0.1 > -------------------- > > > > Just change your path 2 squeezelite the name (after -n) and maybe the > ip of the LMS. > Squeezelite will never start, if there is no active process named > squeezeboxserver. > > Cheers
Ah, bash one liners. Why not just pgrep squeezeboxserver etc, or pidof? But in my case the server is remote and the ip is not known. So I could just start squeezelite in debug mode with a log and check for "connected" in the log after a sleep. ------------------------------------------------------------------------ Krisbee's Profile: http://forums.slimdevices.com/member.php?userid=59080 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
