summaryrefslogtreecommitdiffstats
path: root/DOCS/man/input.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-29 17:54:31 +0100
committerwm4 <wm4@nowhere>2015-11-29 17:56:08 +0100
commitece794d90572a853f5d2967117cebd050c30e8a1 (patch)
treeb7122129fa843f94d909e2c7f2d5c6b7ebac2804 /DOCS/man/input.rst
parent3fa76c84bee5786518d8fb855d0c36f8598263d9 (diff)
downloadmpv-ece794d90572a853f5d2967117cebd050c30e8a1.tar.bz2
mpv-ece794d90572a853f5d2967117cebd050c30e8a1.tar.xz
manpage: explain behavior of "path" property
This seems to confuse users pretty often, but I'm not going to change its behavior. See e.g. #2541.
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r--DOCS/man/input.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 1a59f283fe..72004bf303 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -860,7 +860,11 @@ Property list
quantities: fps and possibly rounded timestamps.)
``path``
- Full path of the currently played file.
+ Full path of the currently played file. Usually this is exactly the same
+ string you pass on the mpv command line or the ``loadfile`` command, even
+ if it's a relative path. If you expect an absolute path, you will have to
+ determine it yourself, for example by using the ``working-directory``
+ property.
``media-title``
If the currently played file has a ``title`` tag, use that.