[MPlayer-dev-eng] Re: [RFC][PATCH] New option -identify

Tobias Diedrich td at sim.uni-hannover.de
Sun Oct 20 15:04:46 CEST 2002


Alex Beregszaszi wrote:

> You could add ID_FILE_NAME= too (as i see you're repeating that in a playlist)

Do we have a shell-escape function ?
Would be nice to add quotes around the name ("name") and escape shell
meta characters (`\!$"), but I think this could be done in a wrapper
script too. I currently use this:

midentify:
#!/bin/sh
mplayer -identify "$@" 2>/dev/null | grep "^ID"

> Anyway, nice patch.

Thanks.

-- 
Tobias								PGP: 0x9AC7E0BC
This mail is made of 100% recycled bits
Now playing: bannoubunkanekomusume: SOUND PHASE-0IV 05 - WAR DANCE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20021020/20138bf0/attachment.pgp>


More information about the MPlayer-dev-eng mailing list