diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-04-23 22:42:22 +0300 |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-04-23 22:45:21 +0300 |
commit | ef0aafbd429792781886a6da9d392ddf76cdc7d6 (patch) | |
tree | 390581afa7a13a715ef19876dd33fa49ef76b7c3 /DOCS | |
parent | f60e327e49e5ccf40a4988716be7ccae0882d36e (diff) | |
download | mpv-ef0aafbd429792781886a6da9d392ddf76cdc7d6.tar.bz2 mpv-ef0aafbd429792781886a6da9d392ddf76cdc7d6.tar.xz |
DOCS: mpv.rst: minor escaping clarifications
Fixes #8767
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/man/mpv.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index 736c9a097d..e0ac72c636 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -390,6 +390,9 @@ It is started with ``%`` and has the following format:: ``mpv --vf=foo:option1=%`expr length "$NAME"`%"$NAME" test.avi`` +Note: where applicable with JSON-IPC, ``%n%`` is the length in UTF-8 bytes, +after decoding the JSON data. + Suboptions passed to the client API are also subject to escaping. Using ``mpv_set_option_string()`` is exactly like passing ``--name=data`` to the command line (but without shell processing of the string). Some options @@ -511,7 +514,7 @@ They support the following operations: ============= =============================================== Suffix Meaning ============= =============================================== --set Set a list of items (using the list separator, interprets escapes) +-set Set a list of items (using the list separator, escaped with backslash) -append Append single item (does not interpret escapes) -add Append 1 or more items (same syntax as -set) -pre Prepend 1 or more items (same syntax as -set) |