changeset 15264:1692cd76d52a

better slave mode description
author diego
date Mon, 25 Apr 2005 09:20:21 +0000
parents e2a2311d1dda
children 92772475ed8d
files DOCS/tech/slave.txt
diffstat 1 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/slave.txt	Mon Apr 25 09:04:26 2005 +0000
+++ b/DOCS/tech/slave.txt	Mon Apr 25 09:20:21 2005 +0000
@@ -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.
 
-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.
+Available commands:
+
 
 seek <value> [<type>]
     Seek to some place in the movie.