comparison DOCS/tech/slave.txt @ 17924:0eac85e451cb

Add get/set_property and update volume/mute to the last changes.
author albeu
date Wed, 22 Mar 2006 20:17:48 +0000
parents 3ab613cdf96a
children ec6781a09b3a
comparison
equal deleted inserted replaced
17923:ad7675dee42c 17924:0eac85e451cb
78 Toggle/set frame dropping mode. 78 Toggle/set frame dropping mode.
79 79
80 get_percent_pos 80 get_percent_pos
81 Print out the current position in the file, as integer percentage [0-100). 81 Print out the current position in the file, as integer percentage [0-100).
82 82
83 get_property <property>
84 Print out the current value of a property.
85
83 get_sub_visibility 86 get_sub_visibility
84 Print out subtitle visibility (1 == on, 0 == off). 87 Print out subtitle visibility (1 == on, 0 == off).
85 88
86 get_time_length 89 get_time_length
87 Print out the length of the current file in seconds. 90 Print out the length of the current file in seconds.
123 hide Hide the OSD menu. 126 hide Hide the OSD menu.
124 127
125 set_menu <menu_name> 128 set_menu <menu_name>
126 Display the menu named <menu_name>. 129 Display the menu named <menu_name>.
127 130
128 mute 131 mute [<value>]
129 Mute/unmute sound output. 132 Toggle sound output mutting or set it to <value> when <value> >= 0
133 (1 == on, 0 == off).
130 134
131 osd [<level>] 135 osd [<level>]
132 Toggle OSD mode or set it to level when <level> >= 0. 136 Toggle OSD mode or set it to level when <level> >= 0.
133 137
134 osd_show_text <string> 138 osd_show_text <string>
162 seek <value> [<type>] 166 seek <value> [<type>]
163 Seek to some place in the movie. 167 Seek to some place in the movie.
164 0 is a relative seek of +/- <value> seconds (default). 168 0 is a relative seek of +/- <value> seconds (default).
165 1 is a seek to <value> % in the movie. 169 1 is a seek to <value> % in the movie.
166 2 is a seek to an absolute position of <value> seconds. 170 2 is a seek to an absolute position of <value> seconds.
171
172 set_property <property> <value>
173 Set a property.
167 174
168 speed_incr <value> 175 speed_incr <value>
169 Add <value> to the current playback speed. 176 Add <value> to the current playback speed.
170 177
171 speed_mult <value> 178 speed_mult <value>
277 Toggle stay-on-top. 284 Toggle stay-on-top.
278 285
279 vo_rootwin 286 vo_rootwin
280 Toggle playback on the root window. 287 Toggle playback on the root window.
281 288
282 volume <value> 289 volume <value> [<abs>]
283 Increase/decrease volume. 290 Increase/decrease volume or set it to <value> if <abs> is nonzero.
284 291
285 292
286 The following commands are really only useful for OSD menu console mode: 293 The following commands are really only useful for OSD menu console mode:
287 294
288 help 295 help