From 3a95a0887c95b1d1ab505a568c922c7a514f5916 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 2 Nov 2014 17:44:24 +0100 Subject: command: expose mpv version as property A client API user has no other way to know the version. --- DOCS/man/input.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'DOCS') 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/`` (RW) Read-only access to value of option ``--``. Most options can be changed at runtime by writing to this property. Note that many options -- cgit v1.2.3