[MPlayer-cvslog] CVS: main/DOCS/tech slave.txt,1.34,1.35
Diego Biurrun CVS
syncmail at mplayerhq.hu
Mon Apr 25 11:20:24 CEST 2005
CVS change done by Diego Biurrun CVS
Update of /cvsroot/mplayer/main/DOCS/tech
In directory mail:/var2/tmp/cvs-serv20037/DOCS/tech
Modified Files:
slave.txt
Log Message:
better slave mode description
Index: slave.txt
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/tech/slave.txt,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- slave.txt 13 Apr 2005 22:33:20 -0000 1.34
+++ slave.txt 25 Apr 2005 09:20:21 -0000 1.35
@@ -1,15 +1,19 @@
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.
+
Most slave mode commands are equivalent to command line options.
Have a look at the man page for more detailed descriptions.
-If the -slave option is given, playback is controlled by a line-based protocol.
-Each line must contain one of the following commands:
+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:
-All commands can be prefixed with "pausing ", causing MPlayer to get into
-paused mode as soon as possible after processing the command.
-Please note that this can be before the command is fully executed.
seek <value> [<type>]
Seek to some place in the movie.
More information about the MPlayer-cvslog
mailing list