1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00
mpv/player
Dudemanguy e8a77e5279 player: add playlist-path properties
A bit of a long standing pain with scripting is that when opening a file
that gets interpreted as a playlist (like an m3u), the original path of
the file gets thrown away later. Workarounds basically consist of
getting the filename before mpv expands the path, but that's not really
reliable. Instead of throwing it away, save the original playlist path
by copying to the playlist entries when applicable (demuxer playlist and
the playlist option). Then expose these as properties: playlist-path for
the currently playing entry and playlist/N/playlist-path for each
specific entry. Closes #8508, #7605.
2023-08-13 19:58:20 +00:00
..
javascript build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
lua stats.lua: use video-params/aspect-name 2023-08-13 15:04:33 +00:00
audio.c audio: drain ao before setting pause 2023-08-11 22:28:50 +00:00
client.c options: read config file as stream 2023-04-29 22:34:54 +00:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c player: add playlist-path properties 2023-08-13 19:58:20 +00:00
command.h player: make deprecated track/chapter/metadata events internal 2021-12-15 12:29:10 +01:00
configfiles.c player: delete watch_later file after successful load 2023-07-08 14:33:47 +00:00
core.h player/video: avoid spamming logs with EOF 2023-08-11 22:28:50 +00:00
external_files.c external_files: add sbv to the sub whitelist 2023-08-10 13:50:34 -05:00
external_files.h player: add automatic loading of external cover art files 2020-09-28 00:12:52 +02:00
javascript.c build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
loadfile.c player: add playlist-path properties 2023-08-13 19:58:20 +00:00
lua.c build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
main.c player/main: do not print build time, if it is unknown 2023-08-02 18:51:13 +00:00
meson.build build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
misc.c vo_wayland: fix warning -Wvoid-pointer-to-enum-cast 2023-02-26 16:45:07 +01:00
osd.c player: add --term-remaining-playtime option 2023-08-13 19:58:20 +00:00
playloop.c audio: drain ao before setting pause 2023-08-11 22:28:50 +00:00
screenshot.c screenshot: implement screenshot-window in sw for most VOs 2023-07-21 20:23:11 +02:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c player/scripting: fix use-after-free when loading script folders 2021-04-08 23:47:35 +03:00
sub.c sub: fix switching tracks while paused 2023-08-11 22:28:50 +00:00
video.c player/video: avoid spamming logs with EOF 2023-08-11 22:28:50 +00:00