summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-03-15 14:05:34 (EDT)
committer P. J. McDermott <pj@pehjota.net>2016-03-15 14:05:34 (EDT)
commitca1f1bf8c9b9f79d9bce2f9de0e8c7cc67f9b60d (patch)
treec8b491efc579f15233c8e6459437ee3b03bc1caa /bin
downloadmpv-ca1f1bf8c9b9f79d9bce2f9de0e8c7cc67f9b60d.zip
mpv-ca1f1bf8c9b9f79d9bce2f9de0e8c7cc67f9b60d.tar.gz
mpv-ca1f1bf8c9b9f79d9bce2f9de0e8c7cc67f9b60d.tar.bz2
Initial commit
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mpv9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/mpv b/bin/mpv
new file mode 100755
index 0000000..e494508
--- /dev/null
+++ b/bin/mpv
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ "x${1}" = 'x-v' ]; then
+ shift 1
+ exec /usr/bin/mpv --fs --osd-level 3 "${@}"
+fi
+
+exec /usr/bin/mpv --msg-level=all=fatal:cplayer=info --fs --osd-level 3 "${@}" \
+ 2>&1 | grep '^Playing:'