Explorar el Código

fuck this fuck that

encrypt hace 7 años
padre
commit
cddaed6e5c
Se han modificado 1 ficheros con 1 adiciones y 7 borrados
  1. 1 7
      radio.sh

+ 1 - 7
radio.sh

@@ -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