Browse Source

fuck this fuck that

encrypt 7 years ago
parent
commit
cddaed6e5c
1 changed files with 1 additions and 7 deletions
  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