small compilation fix
[mplayer/glamo.git] / TOOLS / midentify
blobf6dbf21be3623f80062e34363276647383f54d91
1 #!/bin/sh
2 mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
3 grep "^ID" |
4 sed -e 's/[`\\!$"]/\\&/g' |
5 sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'