Thats OK - possibly!

This is a hack to get round the fact that mplayer won't die (well it
should be!)

There are two cases to cover:
1) when the stream ends and mplayer ends
2) when slimserver kills a stream (e.g. stop, move to next stream etc)

The script actually spits in two with each half responsible for killing
the other half if it completes.  Could you put some check points in the
section:

cat > /dev/null
if [ -s $apppid ] ; then
kill `cat $apppid` 2> /dev/null
fi

This should wait at the cat statement until slimserver kills the stream
(as stdin which is what is being catted stops)


-- 
Triode
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to