Skip to content

Commit 0c56129

Browse files
committed
DOCS/man/input: note that stream-open-filename is not normalized
Since 38ad1ed path is normalized but stream-open-filename is not, so update the docs where it says that they are the same.
1 parent 440f35a commit 0c56129

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

DOCS/man/input.rst

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,13 +2156,14 @@ Property list
21562156
Full absolute path of the currently played file.
21572157

21582158
``stream-open-filename``
2159-
The full path to the currently played media. This is different from
2160-
``path`` only in special cases. In particular, if ``--ytdl=yes`` is used,
2161-
and the URL is detected by ``youtube-dl``, then the script will set this
2162-
property to the actual media URL. This property should be set only during
2163-
the ``on_load`` or ``on_load_fail`` hooks, otherwise it will have no effect
2164-
(or may do something implementation defined in the future). The property is
2165-
reset if playback of the current media ends.
2159+
The path to the currently played media. If ``--ytdl=yes`` is used, and the
2160+
URL is detected by ``youtube-dl``, then the script will set this property to
2161+
the actual media URL. Otherwise, this is the path as it was passed on the
2162+
command line for single files, unlike ``path`` which is normalized. This
2163+
property should be set only during the ``on_load`` or ``on_load_fail``
2164+
hooks, otherwise it will have no effect (or may do something implementation
2165+
defined in the future). The property is reset if playback of the current
2166+
media ends.
21662167

21672168
``media-title``
21682169
If the currently played file has a ``title`` tag, use that.

0 commit comments

Comments
 (0)