mirror of
https://github.com/mpv-player/mpv
synced 2024-12-09 08:29:42 +00:00
d1e9beb0ae
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9573 b3059339-0415-0410-9bf9-f77b7e298cf2
6 lines
189 B
Bash
Executable File
6 lines
189 B
Bash
Executable File
#!/bin/sh
|
|
mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
|
|
grep "^ID" |
|
|
sed -e 's/[`\\!$"]/\\&/g' |
|
|
sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'
|