DOCS/man/input: suggest normalize-path to get absolute paths

Because it is a bit shorter than calling
utils.join_path(working_directory, path), it gives you a canonical path,
and it doesn't concate working-directory before URLs.
This commit is contained in:
Guido Cella 2024-10-30 11:14:02 +01:00 committed by Kacper Michajłow
parent 1f5a67d8fa
commit 680e7022ee
1 changed files with 1 additions and 2 deletions

View File

@ -2003,8 +2003,7 @@ Property list
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.
determine it yourself, for example by using the ``normalize-path`` command.
``stream-open-filename``
The full path to the currently played media. This is different from