comparison TOOLS/midentify @ 7865:d151608b9f28

Add convenience wrapper for mplayer -identify
author ranma
date Wed, 23 Oct 2002 15:49:44 +0000
parents
children 6cf694df50b3
comparison
equal deleted inserted replaced
7864:dacc35bc92c7 7865:d151608b9f28
1 #!/bin/sh
2 mplayer -identify "$@" 2>/dev/null |
3 grep "^ID" |
4 sed -e 's/[`\\!$"]/\\&/g' |
5 sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'