]> git.plutz.net Git - serve0/blobdiff - actions/playctl.sh
bugfixes and visual fixes in player control
[serve0] / actions / playctl.sh
index 38cd54ccdbc8b714a71c085cdae1404bb3a15184..bda4d1b208c9b94a5b4152c17514f1494d2a7097 100755 (executable)
@@ -29,6 +29,10 @@ elif [ -n "${_POST[ctl]+x}" ]; then
   printf '%s\n' $(validate "${_POST[ctl]}" "pause|stop" pause) >"$fifofile"
 elif [ -n "${_POST[seek]+x}" ]; then
   printf 'seek %s\n' $(validate "${_POST[seek]}" "[+-]?[0-9]+" 0) >"$fifofile"
+elif [ -n "${_POST[osd]+x}" ]; then
+  case ${_POST[osd]} in
+    progression) printf "osd_show_progression\\n";;
+  esac >"$fifofile"
 fi &
 
 redirect "$HTTP_REFERER"