[MPlayer-users] Re: New Mplayer Release???

Dirk Meyer dmeyer at tzi.de
Thu Jul 10 10:37:17 CEST 2003


Jan Knutar wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Thursday 10 July 2003 02:28, you wrote:
>> [Automatic answer: RTFM (read DOCS, FAQ), also read
>> DOCS/bugreports.html] Hi!
>>
>> > I'm not the original poster, but, to me, a named pipe, or even a
>> > socket, where mplayer would listen for commands would be perfect.
>> > Maybe even something in the same style as XMMS and its
>> > xmms_remote_* API for controlling xmms..
>> >
>> > (and yes, I'm aware of -slave)
>>
>> You can pause,start,stop with slave. Or I misunderstand?
>
> Yes, but you have to pipe it into mplayer first. Or atleast, I
> thought you had, until I reread the man page and discovered -input
> file, I haven't tested it yet, but -slave and -input file sounds
> just like what I need, a fifo to pipe commands into mplayer, from a
> program that is always resident. (I'm making my own remtoe control)
> :-)

untested idea:

create a named pipe, than connect your control program to it. Start
mplayer with this pipe as stdin.


Dischi

-- 
VI VI VI    The editor of the beast.



More information about the MPlayer-users mailing list