PasTim wrote: 
> All that remains is for me to be able to get any form of squeezelite
> log.
I found a way to get a log.  I redirect stderr to a file, but don't
specify a log file, thus my script for squeezelite (called
Play-Stream-MF) looks like:

Code:
--------------------
    
  /home/user/Programs/squeezelite-x86-64 -o - -a 32 -n Play-Stream-MF -m 
00:00:00:00:00:01 -r 192000 -p 25 -u VLX -s localhost:3483 -d output=info
  
--------------------


And my script to kill off and then run squeezelite, get a log, and pipe
the output elsewhere looks like:


Code:
--------------------
    
  pkill -SIGKILL -f playstreamMF
  pkill -SIGKILL -f Play-Stream-MF
  /storage/Scripts/squeezelite-streamMF.sh 2> 
/storage/Scripts/squeezeliteMF.err | /storage/Scripts/playstreamMF > 
/storage/Scripts/playstreamMF.out 2>&1 &
  
--------------------


I assume the fact that the -f option doesn't work, taking all of stdout,
is not what was intended, but at least I can now see the log, which is
all I wanted :)



LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC.
Wireless Xubuntu 14.04 laptop controls LMS via Chromium.   Meridian
Explorer USB DAC to listen via Squeezelite on Vortexbox & other PCs as
required.  Spare Touch in loft.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to