]> git.plutz.net Git - serve0/blobdiff - actions/playctl.sh
increased response times
[serve0] / actions / playctl.sh
index bda4d1b208c9b94a5b4152c17514f1494d2a7097..183bee6fe0cb2ff6d1acc12ce41cdfd564801a6a 100755 (executable)
 # along with Serve0  If not, see <http://www.gnu.org/licenses/>.
 
 fifofile="${_DATA}/mplayer.fifo"
+statusfile="${_DATA}/mplayer.status"
 volfile="${_DATA}/mplayer.volume"
 
+printf '\rBREAK\r' >> "$statusfile"
+
 if   [ -n "${_POST[amp]+x}" ]; then
   amp $(validate "${_POST[amp]}" '(on|off)' off)
 elif [ -n "${_POST[vol]+x}" ]; then