diff options
author | wm4 <wm4@nowhere> | 2014-10-19 21:38:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-19 22:34:37 +0200 |
commit | cf627fd3de180f0cb0173e016f160de8399cd692 (patch) | |
tree | aba79cbcedddf551b02ada261dcde3cda964572e /DOCS/man/ipc.rst | |
parent | f8f0098560c9b88c927b76c435f47aaf70cfc871 (diff) | |
download | mpv-cf627fd3de180f0cb0173e016f160de8399cd692.tar.bz2 mpv-cf627fd3de180f0cb0173e016f160de8399cd692.tar.xz |
ipc: accept both JSON and "old" commands
Minimizes the differences between --input-file and --input-unix-socket.
Diffstat (limited to 'DOCS/man/ipc.rst')
-rw-r--r-- | DOCS/man/ipc.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/man/ipc.rst b/DOCS/man/ipc.rst index 83aa018b03..f0c6004006 100644 --- a/DOCS/man/ipc.rst +++ b/DOCS/man/ipc.rst @@ -47,6 +47,10 @@ mpv will also send events to clients with JSON messages of the following form: where ``event_name`` is the name of the event. Additional event-specific fields can also be present. See `List of events`_ for a list of all supported events. +If the first character (after skipping whitespace) is not ``{``, the command +will be interpreted as non-JSON text command, as they are used in input.conf +(or ``mpv_command_string()`` in the client API). + Commands -------- |