summaryrefslogtreecommitdiffstats
path: root/DOCS/man/input.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-11 22:40:00 +0200
committerwm4 <wm4@nowhere>2016-08-11 22:40:00 +0200
commitdc6f8d4a0af27f32ff9d8df86cae6ad2df4aefcc (patch)
treec9a6093b279351d44a5983895e6d72567743c381 /DOCS/man/input.rst
parent9024cb168586dcc7808893e944edb217b34aa56f (diff)
downloadmpv-dc6f8d4a0af27f32ff9d8df86cae6ad2df4aefcc.tar.bz2
mpv-dc6f8d4a0af27f32ff9d8df86cae6ad2df4aefcc.tar.xz
command: add a property that returns filename without extension
Requested. Fixes #3404.
Diffstat (limited to 'DOCS/man/input.rst')
-rw-r--r--DOCS/man/input.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 46dcb36e7d..10fd6e2b1c 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -869,6 +869,12 @@ Property list
looks better for display purposes. Use the ``path`` property to get an
unmodified filename.)
+ This has a sub-property:
+
+ ``filename/no-ext``
+ Like the ``filename`` property, but if the text contains a ``.``, strip
+ all text after the last ``.``. Usually this removes the file extension.
+
``file-size``
Length in bytes of the source file/stream. (This is the same as
``${stream-end}``. For ordered chapters and such, the