aboutsummaryrefslogtreecommitdiffhomepage
path: root/DOCS/man/input.rst
Commit message (Collapse)AuthorAge
* input, lua: redo input handlingGravatar wm42014-11-23
| | | | | Much of it is the same, but now there's the possibility to distinguish key down/up events in the Lua API.
* input: add a prefix to make any binding act on key repeatGravatar wm42014-11-20
| | | | | | The fact that it's a generic command prefix that is parsed even when using the client API is a bit unclean (because this flag makes sense for actual key-bindings only), but it's less code this way.
* command: add drop_buffersGravatar wm42014-11-20
| | | | | | | | | | | | | | | This command was actually requested on IRC ages ago, but I forgot about it. The main purpose is that the decoding state can be reset without issuing a seek, in particular in situations where you can't seek. This restarts decoding from the middle of the packet stream; since it discards the packet buffer intentionally, and the decoder will typically not output "incomplete" frames until it has recovered, it can skip a large amount of data. It doesn't clear the byte stream cache - I'm not sure if it should.
* demux_mkv: add an option for compatibility with HaaliGravatar wm42014-11-18
| | | | This was requested on IRC.
* manpage: document vo_cmdline commandGravatar wm42014-11-18
|
* command: add an ab_loop commandGravatar wm42014-11-18
| | | | | | As suggested in #1241; to make using the feature easier. Also add better OSD-formatting for the ab-loop-a/b properties.
* command: implement A-B loopsGravatar wm42014-11-18
| | | | | | | | | | | | | Probably needs to be polished a bit more. Also, might require a key binding that can set/clear the loop points in a more intuitive way. For now, something like this can be put into input.conf to use it: ctrl+y set ab-loop-a ${time-pos} # set A ctrl+x set ab-loop-b ${time-pos} # set B ctrl+c set ab-loop-a no # clear (mostly) Fixes #1241.
* command: adjust previous commitGravatar wm42014-11-17
| | | | | | | | Due to the current code structure, the "current" entry and the entry which is playing can be different. This is probably silly, but still try to mark the entries correctly. Refs #1260.
* command: playlist property: return if an entry is currently playingGravatar wm42014-11-17
| | | | | | | | This actually doesn't even write/return the new sub-property, because I dislike the idea of dumping that field for every single playlist entry, even though it's "needed" only for one. Fixes #1260.
* command: export some option metadataGravatar wm42014-11-13
| | | | | | | This might be interesting for GUIs and such. It's probably still a little bit insufficient. For example, the filter and audio/video output lists are not available through this.
* command: rename "option-flags" property to "option-info"Gravatar wm42014-11-13
|
* command: export mpv configure arguments as propertyGravatar wm42014-11-13
| | | | | It seems strange that a client API user can't get this string, other than analyzing the mpv log output.
* command: export the flag whether an option was set on commandlineGravatar wm42014-11-07
| | | | Can be useful for certain scripts; I think someone requested this.
* command: add display-names propertyGravatar Kevin Mitchell2014-11-07
| | | | | | | Call VOCTRL_GET_DISPLAY_NAMES it when the property is requested. The vo should return the names of the displays that the mpv window is covering. For example, with x11 vos, xrandr names LVDS1, HDMI1, etc.
* command: add window-minimized property (X11 only)Gravatar wm42014-11-02
| | | | | | More or less requested by #1237. Should be simple to extend this to other backends.
* command: expose mpv version as propertyGravatar wm42014-11-02
| | | | A client API user has no other way to know the version.
* player: update meaning of drop_frame_cntGravatar wm42014-11-01
| | | | | Rename the variable, update comments, and update the documentation of the property which returns its value.
* manpage: clarify loadfile append-play modeGravatar wm42014-10-28
| | | | Documents the behavior introduced with the previous commit.
* command: add audio-device propertyGravatar wm42014-10-27
| | | | Meant for changing the --audio-device at runtime.
* audio: add command/function to reload audio outputGravatar wm42014-10-27
| | | | | Anticipated use: simple solution for dealing with audio APIs which request configuration changes via events.
* Drop libquvi supportGravatar wm42014-10-25
| | | | | | | | | | | No development activity (or even any sign of life) for almost a year. A replacement based on youtube-dl will probably be provided before the next mpv release. Ask on the IRC channel if you want to test. Simplify the Lua check too: libquvi linking against a different Lua version than mpv was a frequent issue, but with libquvi gone, no direct dependency uses Lua, and such a clash is rather unlikely.
* command: add vo-configured propertyGravatar wm42014-10-24
| | | | | | | | | So a client API user can know when a window is created or destroyed. Also might be useful for the OSC: it could disable itself if video is disabled. Before this commit, there were only indirect ways of detecting this.
* command: add a "cached" mode to sub_addGravatar wm42014-10-23
| | | | | This avoids reloading a subtitle if it was already added. In all cases, the subtitle is selected.
* command: make reverse cycle_values match up with forward oneGravatar wm42014-10-21
| | | | | | | | | The behavior of reverse cycling (with the "!reverse" magic value) was a bit weird and acted with a "delay". This was because the command set the value the _next_ command should use. Change this and make each command invocation select and use the next command directly. This requires an "uninitialized" special index in the counter, but that is no problem at all.
* command: add cursor-autohide propertyGravatar wm42014-10-21
| | | | | | | | | | | Allows properly changing/updating the cursor state. Useful for client API window embedding, because the host application may not want the mpv window to grab mouse input, and this has to manually handle the cursor. Changing the cursor of foreign windows is usually not sane. It might make sense to allow changing the cursor icon, but that would be much more complicated, so I won't add it unless someone actually requests it.
* command: add playback-abort propertyGravatar wm42014-10-21
| | | | Now this is obscure.
* command: add video-rotate propertyGravatar wm42014-10-21
|
* command: add field-dominance propertyGravatar Kevin Mitchell2014-10-21
|
* command: extend sub_add commandGravatar wm42014-10-21
|
* manpage: fix reference to a defunct optionGravatar shdown2014-10-16
| | | | The change was made with faad40aad92d51290ef2fc4d94277eca89863873.
* command: allow setting per-file options at runtimeGravatar wm42014-10-15
| | | | | The intended use-case is for doing this at load time, after the load command was issued. (See following commit.)
* command: make audio device list available to the client APIGravatar wm42014-10-10
|
* command: add cache-buffering-state propertyGravatar wm42014-10-07
|
* client API: clarify pause/unpause events, modify core-idle propertyGravatar wm42014-10-07
| | | | | | | | Whether you consider the semantics weird or not depends on your use case, but I suppose it's a bit confusing anyway. At this point, we keep MPV_EVENT_PAUSE/UNPAUSE for compatibility only. Make the "core-idle" property somewhat more useful in this context.
* manpage: improve consistency with new ~/.config/mpv defaultGravatar Kevin Mitchell2014-10-04
| | | | Signed-off-by: wm4 <wm4@nowhere>
* command: allow passing memory addresses to overlay_addGravatar wm42014-10-03
| | | | | | | | | For the sake of libmpv. Might make things much easier for the user, especially on Windows. On the other hand, it's a bit sketchy that a command exists that makes the player access arbitrary memory regions. (But do note that input commands are not meant to be "secure" and never were - for example, there's the "run" command, which obviously allows running random shell commands.)
* manpage: remove non-existing ratio-pos propertyGravatar wm42014-10-02
| | | | | | | | | | Use percent-pos instead, which is exactly the same, except with the range 0.0-100.0. I'm not sure how this got there; it was probably introduced and then removed again as percent-pos got more precise. CC: @mpv-player/stable
* man: fix to->too typoGravatar Kevin Mitchell2014-09-30
|
* command: allow using ASS tags on OSD messagesGravatar wm42014-09-18
| | | | | | | | | | | We don't allow this by default, because it would be silly if random external data (like filenames or file tags) could accidentally trigger them. Add a property that magically disables this ASS tag escaping. Note that malicious input could still disable ASS tag escaping by itself. This would be annoying but harmless.
* command: add osd-sym-cc propertyGravatar wm42014-09-18
| | | | This allows you to reproduce the OSD symbol.
* manpage: fix typo in input.rstGravatar Aleksey Andreev2014-09-15
| | | | Signed-off-by: wm4 <wm4@nowhere>
* manpage: clarify description of dwidth/dheightGravatar wm42014-09-15
|
* input: "quit_watch_later" and "stop" are abort commandsGravatar wm42014-09-13
| | | | | | | | | This means they get special handling for asynchronously aborting playback, even if the player is "stuck". Also document "stop". It seems somewhat useful for client API users (although that will be implemented properly only in the following commits.)
* manpage: fix sub_add descriptionGravatar wm42014-09-05
| | | | | It is in fact selected. The manpage wasn't updated when this was changed.
* command: remove broken quvi-format propertyGravatar wm42014-09-01
| | | | Never really worked, and libquvi is probably a lost cause anyway.
* man: fix a whole bunch of typosGravatar Martin Herkt2014-09-01
|
* manpage: be more explicit about "estimated-..." propertiesGravatar wm42014-08-31
| | | | | | In particular, use the note markup. The issue about rounded timestamps is mostly with respect to Matroska (which usually rounds them to milliseconds), which somewhat adds to the reliability issue.
* manpage: fix minor grammar issueGravatar wm42014-08-29
|
* command: export demuxer cache info propertiesGravatar wm42014-08-28
|
* command: add estimated-frame-count & estimated-frame-number propertiesGravatar Andrey Morozov2014-08-19
| | | | Signed-off-by: wm4 <wm4@nowhere>