diff options
author | wm4 <wm4@nowhere> | 2014-11-02 17:44:24 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-02 17:44:24 +0100 |
commit | 3a95a0887c95b1d1ab505a568c922c7a514f5916 (patch) | |
tree | 21994e5bde3bf28407647d4adf704dcf83f9113a /DOCS/man/input.rst | |
parent | 12212a1685155c67049a0f30f14b7bf789a8c093 (diff) | |
download | mpv-3a95a0887c95b1d1ab505a568c922c7a514f5916.tar.bz2 mpv-3a95a0887c95b1d1ab505a568c922c7a514f5916.tar.xz |
command: expose mpv version as property
A client API user has no other way to know the version.
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r-- | DOCS/man/input.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 9c768a5c1e..e62552cd35 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1411,6 +1411,10 @@ Property list How these details are handled may change in the future. +``mpv-version`` + Return the mpv version/copyright string. Depending on how the binary was + built, it might contain either a release version, or just a git hash. + ``options/<name>`` (RW) Read-only access to value of option ``--<name>``. Most options can be changed at runtime by writing to this property. Note that many options |