diff options
author | wm4 <wm4@nowhere> | 2014-10-19 21:43:08 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-19 22:34:37 +0200 |
commit | d089772b69807b0a66e56f6501d2ecf3d70e0114 (patch) | |
tree | 1b39dccacf3e961e5c3ed576f3d5ef2165380ab9 /DOCS | |
parent | cf627fd3de180f0cb0173e016f160de8399cd692 (diff) | |
download | mpv-d089772b69807b0a66e56f6501d2ecf3d70e0114.tar.bz2 mpv-d089772b69807b0a66e56f6501d2ecf3d70e0114.tar.xz |
ipc: skip empty and commented lines
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/ipc.rst | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/DOCS/man/ipc.rst b/DOCS/man/ipc.rst index f0c6004006..e377e2e881 100644 --- a/DOCS/man/ipc.rst +++ b/DOCS/man/ipc.rst @@ -49,7 +49,11 @@ 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). +(or ``mpv_command_string()`` in the client API). Additionally, line starting +with ``#`` and empty lines are ignored. + +Currently, embedded 0 bytes terminate the current line, but you should not +rely on this. Commands -------- |