[MPlayer-dev-eng] running a program with a keystroke - passing playing filename to it
compn
tempn at twmi.rr.com
Fri Dec 17 20:23:54 CET 2010
On Fri, 17 Dec 2010 19:32:28 +0100, Reimar Döffinger wrote:
>On Fri, Dec 17, 2010 at 12:44:22PM -0300, Elias Gabriel Amaral da Silva wrote:
>> I think mplayer could define some variables for the execing
>> proccess. Like MPLAYER_FILENAME, MPLAYER_POS.. I am about to
>> implement it (unless there is another way to do what I
>> want). Does this seem reasonable?
>
>If it was just one thing it might be reasonable, but it
>sounds like your program might want all kinds of information.
>You should probably just use slave mode, though the issue is
>that replies will be sent to stdout which will be hard to access
>from a child process.
>Still, since I don't know the purpose I can't say, but I think there's
>a good chance you should implement this as a slave-mode wrapper
>instead.
>However being able to use arbitrary properties in commands might
>be a useful feature.
there is a slave wrapper called 'libplayer' which also can wrap vlc.
-compn
More information about the MPlayer-dev-eng
mailing list