From e6fb8b3c9792dcbc5b2ac36d6f06f3be3fdb4b8e Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 20 Oct 2019 01:35:43 +0200 Subject: manpage: docoument stream-open-filename property --- DOCS/man/input.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 92327f2dd6..0c5cf2035d 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -1305,6 +1305,15 @@ Property list determine it yourself, for example by using the ``working-directory`` property. +``stream-open-filename`` + The full path to the currently played media. This is different only from + ``path`` in special cases. In particular, if ``--ytdl=yes`` is used, and + the URL is detected by ``youtube-dl``, then the script will set this + property to the actual media URL. This property should be set only during + the ``on_load`` or ``on_load_fail`` hooks, otherwise it will have no effect + (or may do something implementation defined in the future). The property is + reset if playback of the current media ends. + ``media-title`` If the currently played file has a ``title`` tag, use that. -- cgit v1.2.3