mirror of https://github.com/mpv-player/mpv
6 lines
161 B
Plaintext
6 lines
161 B
Plaintext
|
#!/bin/sh
|
||
|
mplayer -identify "$@" 2>/dev/null |
|
||
|
grep "^ID" |
|
||
|
sed -e 's/[`\\!$"]/\\&/g' |
|
||
|
sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'
|