[MPlayer-dev-eng] running a program with a keystroke - passing playing filename to it
kdekorte at gmail.com
Tue Dec 21 19:11:07 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
On 12/17/2010 12:23 PM, compn wrote:
> 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
>> 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.
Also, I'm getting close to having a fully functional GTK widget that
wraps up mplayer. Some functionality is still not present but the basics
work. So I can send you a copy of that as well.
Get my public GnuPG key from
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the MPlayer-dev-eng