diff options
author | wm4 <wm4@nowhere> | 2018-05-13 12:19:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:34 +0200 |
commit | b44ea70209c40a6e1600f6c59d5c73ef6685645b (patch) | |
tree | a3407721139642fbfa83bc501caf2deab8a91294 /DOCS/man/ipc.rst | |
parent | dbe831bd025d34930b97c493d9ef61278408cf46 (diff) | |
download | mpv-b44ea70209c40a6e1600f6c59d5c73ef6685645b.tar.bz2 mpv-b44ea70209c40a6e1600f6c59d5c73ef6685645b.tar.xz |
ipc: alias set_property_string to set_property
The only effective difference is that the former explicitly checks
whether the JSON value type is string, and errors out if not. The rest
is exactly the same (mpv_set_property_string is mpv_set_property with
MPV_FORMAT_STRING).
It seems silly to keep this, so just remove it.
Diffstat (limited to 'DOCS/man/ipc.rst')
-rw-r--r-- | DOCS/man/ipc.rst | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/DOCS/man/ipc.rst b/DOCS/man/ipc.rst index 289ef5b799..1a5eadfe49 100644 --- a/DOCS/man/ipc.rst +++ b/DOCS/man/ipc.rst @@ -180,14 +180,7 @@ extra commands can also be used as part of the protocol: { "error": "success" } ``set_property_string`` - Like ``set_property``, but the argument value must be passed as string. - - Example: - - :: - - { "command": ["set_property_string", "pause", "yes"] } - { "error": "success" } + Alias for ``set_property``. Both commands accept native values and strings. ``observe_property`` Watch a property for changes. If the given property is changed, then an |