mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-26 21:00:21 +00:00
command: normalize paths for path and track-list/N/external-filename
It's better for API users to actually get predictable results.
This commit is contained in:
1
DOCS/interface-changes/property-paths.txt
Normal file
1
DOCS/interface-changes/property-paths.txt
Normal file
@@ -0,0 +1 @@
|
||||
the `path` and `track-list/N/external-filename` properties now always return a full, absolute path
|
||||
@@ -2109,10 +2109,7 @@ Property list
|
||||
Process-id of mpv.
|
||||
|
||||
``path``
|
||||
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 ``normalize-path`` command.
|
||||
Full absolute path of the currently played file.
|
||||
|
||||
``stream-open-filename``
|
||||
The full path to the currently played media. This is different from
|
||||
|
||||
Reference in New Issue
Block a user