summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-25 09:20:21 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-04-25 09:20:21 +0000
commit8ce3d1b41270278de59e3090304bc166cbdcce7c (patch)
tree7738b955e3e569ca489bbbfc881ba5ae6b637888 /DOCS
parent37bd5819ee2957a15e29a787340a1cb6a8b00467 (diff)
downloadmpv-8ce3d1b41270278de59e3090304bc166cbdcce7c.tar.bz2
mpv-8ce3d1b41270278de59e3090304bc166cbdcce7c.tar.xz
better slave mode description
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15265 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/tech/slave.txt14
1 files changed, 9 insertions, 5 deletions
diff --git a/DOCS/tech/slave.txt b/DOCS/tech/slave.txt
index 505aa41fe3..e94932f18e 100644
--- a/DOCS/tech/slave.txt
+++ b/DOCS/tech/slave.txt
@@ -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.