[Mplayer-cvslog] CVS: main/DOCS mplayer.1,1.109,1.110

Arpi of Ize arpi at mplayer.dev.hu
Tue Dec 4 22:04:30 CET 2001


Update of /cvsroot/mplayer/main/DOCS
In directory mplayer:/var/tmp.root/cvs-serv15672

Modified Files:
	mplayer.1 
Log Message:
-slave patch by Kilian A. Foth <foth at informatik.uni-hamburg.de>

Index: mplayer.1
===================================================================
RCS file: /cvsroot/mplayer/main/DOCS/mplayer.1,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- mplayer.1	1 Dec 2001 11:30:21 -0000	1.109
+++ mplayer.1	4 Dec 2001 21:04:28 -0000	1.110
@@ -81,6 +81,7 @@
 .RB [ \-bpp\ depth ]
 .RB [ \-flip ]
 .RB [ \-playlist\ <filename> ]
+.RB [ \-slave ]
 .I - or file or device
 .PP
 .SH DESCRIPTION
@@ -246,6 +247,19 @@
 .TP
 .B \-playlist <file>
 play files according to this filelist (1 file/row).
+
+.TP
+.B \-slave
+This option switches on slave mode. This is intended for use
+of mplayer as a backend to other programs. Instead of intercepting keyboard
+events, mplayer will read simplistic command lines from its stdin.
+See section 
+.B SLAVE MODE PROTOCOL
+for the syntax.
+
+
+
+
 .IP
 .SH "ADVANCED OPTIONS"
 .TP
@@ -548,6 +562,20 @@
 5 or 6          adjust hue
 
 7 or 8          adjust saturation
+
+.SH SLAVE MODE PROTOCOL
+If the -slave switch is given, playback is controlled by a 
+line-based protocol with the following tokens:
+.TP
+       stop            pause playback
+
+play            resume playback
+
+seek <NUM>      continue at second NUM
+
+skip <NUM>      skip NUM seconds (may be negative)
+
+quit            exit mplayer
 
 .IP
 .SH FILES AND DIRECTORIES




More information about the MPlayer-cvslog mailing list