From bc0ed904811b4e4a0fc3d6129ba92e2c786cbabf Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 15 Oct 2014 22:39:33 +0200 Subject: command: allow setting per-file options at runtime The intended use-case is for doing this at load time, after the load command was issued. (See following commit.) --- DOCS/man/input.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'DOCS/man/input.rst') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 269783c45b..3ae48bc125 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1361,6 +1361,16 @@ Property list require reloading the file for changes to take effect. If there is an equivalent property, prefer setting the property instead. +``file-local-options/`` + Similar to ``options/``, but when setting an option through this + property, the option is reset to its old value once the current file has + stopped playing. Trying to write an option while no file is playing (or + is being loaded) results in an error. + + (Note that if an option is marked as file-local, even ``options/`` will + access the local value, and the ``old`` value, which will be restored on + end of playback, can not be read or written until end of playback.) + ``property-list`` Return the list of top-level properties. -- cgit v1.2.3