fuck this fuck that

This commit is contained in:
encrypt 2017-02-27 09:47:30 +00:00
parent bb26146985
commit cddaed6e5c

View file

@ -22,17 +22,11 @@ mpc random on
mpc repeat on
mpc crossfade 10
is_playing=$(mpc | grep -c "")
while :
do
if read line < $pipe;
then
radio_play $line
if [[ $is_playing -eq 1 ]]
then
mpc play
is_playing=0
fi
mpc play
fi
done