[MPlayer-cvslog] CVS: main/DOCS/tech slave.txt,1.35,1.36
Diego Biurrun CVS
syncmail at mplayerhq.hu
Tue Apr 26 11:59:18 CEST 2005
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var2/tmp/cvs-serv32601/DOCS/tech
Modified Files:
slave.txt
Log Message:
(hopefully) better description of slave mode
Index: slave.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/slave.txt,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- slave.txt 25 Apr 2005 09:20:21 -0000 1.35
+++ slave.txt 26 Apr 2005 09:59:16 -0000 1.36
@@ -1,18 +1,25 @@
SLAVE MODE PROTOCOL
-------------------
-When run with the -slave option MPlayer will read commands separated by a
-newline (\n) from stdin. This allows controlling MPlayer like a user would with
-keypresses and command line options and is useful for building simple frontends.
+The -slave option switches on slave mode, in which MPlayer works as a backend
+for other programs. Instead of intercepting keyboard events, MPlayer will read
+commands separated by a newline (\n) from stdin.
-Most slave mode commands are equivalent to command line options.
-Have a look at the man page for more detailed descriptions.
+To try slave mode out by hand, run
+
+ 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
as possible after processing the command. Please note that this can be before
the command is fully executed.
-Available commands:
+Available commands ('mplayer -input cmdlist' will print a list):
seek <value> [<type>]
More information about the MPlayer-cvslog
mailing list