echo -n "" > ~/xmp3/stop
while true; do

	~/xmp3/rmp3
	~/xmp3/mp3ee
	blip1=`cat ~/.blargh | grep -a -c Decoding`

	while [ $blip1 != "1" ]; do

        	blip1=`cat ~/.blargh | grep -a -c Decoding`
		blip2=`cat ~/xmp3/stop | grep -a -c s`
        	sleep 5s
		
		if [ $blip2 = "1" ]; then
      			 exit
		fi

	done
 
done


