Displaying 2 results from an estimated 2 matches for "820b6e65".
2018 Nov 09
0
Custom Hooks
...DE305133015
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20181109/820b6e65/attachment.sig>
2018 Nov 09
2
Custom Hooks
Yeah it is a tad gross but here is my first (and probably only) attempt:
---------------- 8< ----------------
#!/bin/bash
pipe=/tmp/testpipe
trap "rm -f $pipe" EXIT
if [[ ! -p $pipe ]]; then
mkfifo $pipe
fi
mplayer -slave -playlist "http://my.icecast.stream/music" >
/tmp/testpipe 2> /dev/null &
while true
do
if read line <$pipe; then