mirror of
https://github.com/mpv-player/mpv
synced 2024-12-14 02:45:43 +00:00
ddaa6dd19d
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7866 b3059339-0415-0410-9bf9-f77b7e298cf2
6 lines
161 B
Bash
Executable File
6 lines
161 B
Bash
Executable File
#!/bin/sh
|
|
mplayer -identify "$@" 2>/dev/null |
|
|
grep "^ID" |
|
|
sed -e 's/[`\\!$"]/\\&/g' |
|
|
sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'
|