(hopefully) better description of slave mode

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15268 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2005-04-26 09:59:16 +00:00
parent 4b3ce1c8ef
commit 5a6f86c069
1 changed files with 13 additions and 6 deletions

View File

@ -1,18 +1,25 @@
SLAVE MODE PROTOCOL SLAVE MODE PROTOCOL
------------------- -------------------
When run with the -slave option MPlayer will read commands separated by a The -slave option switches on slave mode, in which MPlayer works as a backend
newline (\n) from stdin. This allows controlling MPlayer like a user would with for other programs. Instead of intercepting keyboard events, MPlayer will read
keypresses and command line options and is useful for building simple frontends. commands separated by a newline (\n) from stdin.
Most slave mode commands are equivalent to command line options. To try slave mode out by hand, run
Have a look at the man page for more detailed descriptions.
mplayer -slave -quiet <movie>
and type slave commands into the console window.
Most slave mode commands are equivalent to command line options, though not
necessarily under the same name. Detailed descriptions can be found in the
man page.
All commands can be prefixed with "pausing ", causing MPlayer to pause as soon All commands can be prefixed with "pausing ", causing MPlayer to pause as soon
as possible after processing the command. Please note that this can be before as possible after processing the command. Please note that this can be before
the command is fully executed. the command is fully executed.
Available commands: Available commands ('mplayer -input cmdlist' will print a list):
seek <value> [<type>] seek <value> [<type>]