fifofile="${_DATA}/mplayer.fifo"
statusfile="${_DATA}/mplayer.status"
+statusfile="/tmp/mplayer.status"
volfile="${_DATA}/mplayer.volume"
printf '\rBREAK\r' >> "$statusfile"
playmeta="${_DATA}/mplayer.meta"
fifofile="${_DATA}/mplayer.fifo"
statusfile="${_DATA}/mplayer.status"
+ statusfile="/tmp/mplayer.status"
volume="$(validate "$(cat "${_DATA}/mplayer.volume")" '[1-9]?[0-9]|100' 20)"
[ \! -p "$fifofile" ] && rm -f "$fifofile" && mkfifo -m 600 "$fifofile"
# --volume="$volume" \
# "$playuri" >"$statusfile" 2>/dev/null &
+ chmod 600 "$statusfile"
+
redirect "?p=playctl&${watch_link}"
;;
*) redirect "?p=view&${watch_link}"
location="$(invalidate "${_GET[l]}" '(.*/)?\.\.(/.*)?|' /)"
directory="${location%/*}"
statusfile="$_DATA/mplayer.status"
+statusfile="/tmp/mplayer.status"
[ -n "$info" ] && video="${_DATA}/videos/$info" \
|| video="${treeroot%/}/${location#/}"