diff --git a/radio.sh b/radio.sh index edfa7bf..0ffd04d 100755 --- a/radio.sh +++ b/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