diff options
author | wm4 <wm4@nowhere> | 2019-10-20 01:35:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-10-20 01:44:22 +0200 |
commit | e6fb8b3c9792dcbc5b2ac36d6f06f3be3fdb4b8e (patch) | |
tree | c8c0dce6003ef95fa0e511dd8982e754e63d5e0c | |
parent | 09b916965bb58884f8690bccaade3c20b409b268 (diff) | |
download | mpv-e6fb8b3c9792dcbc5b2ac36d6f06f3be3fdb4b8e.tar.bz2 mpv-e6fb8b3c9792dcbc5b2ac36d6f06f3be3fdb4b8e.tar.xz |
manpage: docoument stream-open-filename property
-rw-r--r-- | DOCS/man/input.rst | 9 |
1 files changed, 9 insertions, 0 deletions
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. |