diff options
author | wm4 <wm4@nowhere> | 2014-12-24 14:32:02 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-24 14:32:02 +0100 |
commit | 51abca8afd7661a33d54576a00a1fcc6661d1635 (patch) | |
tree | 35f77ca24a8e71cc120d31dbdd65e73296660421 /DOCS/man/ipc.rst | |
parent | 7f36d1532e29a29305971bd7c19fd803d9603a04 (diff) | |
download | mpv-51abca8afd7661a33d54576a00a1fcc6661d1635.tar.bz2 mpv-51abca8afd7661a33d54576a00a1fcc6661d1635.tar.xz |
ipc: add enable_event and disable_event commands
This was requested.
Diffstat (limited to 'DOCS/man/ipc.rst')
-rw-r--r-- | DOCS/man/ipc.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/ipc.rst b/DOCS/man/ipc.rst index f1e466a497..d904eeae87 100644 --- a/DOCS/man/ipc.rst +++ b/DOCS/man/ipc.rst @@ -156,6 +156,14 @@ extra commands can also be used as part of the protocol: lead to breakages with future mpv releases. Instead, make a feature request, and ask for a proper event that returns the information you need. +``enable_event``, ``disable_event`` + Enables or disables the named event. Mirrors the ``mpv_request_event`` C + API function. If the string ``all`` is used instead of an event name, all + events are enabled or disabled. + + By default, most events are enabled, and there is not much use for this + command. + ``suspend`` Suspend the mpv main loop. There is a long-winded explanation of this in the C API function ``mpv_suspend()``. In short, this prevents the player |