X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=pages%2Fplayctl.sh;h=c57e338bea556bcf2f9b866cc8a9d7f239be6aa8;hb=0f55cabbc9beca8fce0bddc74f48d4d0fd52250b;hp=79122fd00d9f4f5ea370abdc33ec4b3883b471b3;hpb=1e04021c26ba9d4b7cd3acaed54d24cac3d83e22;p=serve0 diff --git a/pages/playctl.sh b/pages/playctl.sh index 79122fd..c57e338 100755 --- a/pages/playctl.sh +++ b/pages/playctl.sh @@ -23,6 +23,7 @@ info="${_GET[i]}" location="$(invalidate "${_GET[l]}" '(.*/)?\.\.(/.*)?|' /)" directory="${location%/*}" statusfile="$_DATA/mplayer.status" +statusfile="/tmp/mplayer.status" [ -n "$info" ] && video="${_DATA}/videos/$info" \ || video="${treeroot%/}/${location#/}"