1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 03:32:50 +00:00
mpv/options
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
..
m_config_core.c osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
m_config_core.h options: more pushing code around 2020-03-13 16:50:27 +01:00
m_config_frontend.c options: log profile name if there is no restore data 2022-10-28 15:48:24 +00:00
m_config_frontend.h options: add watch-later-options 2021-07-21 13:19:28 +00:00
m_config.h options: split m_config.c/h 2020-03-13 16:50:27 +01:00
m_option.c m_option: change m_option_type_aspect to double 2023-08-09 13:51:28 +00:00
m_option.h m_option: change m_option_type_aspect to double 2023-08-09 13:51:28 +00:00
m_property.c options: change parameter that was forgottin in property transition 2023-02-27 11:21:49 +01:00
m_property.h options: change parameter that was forgottin in property transition 2023-02-27 11:21:49 +01:00
options.c player: add --term-remaining-playtime option 2023-08-13 19:58:20 +00:00
options.h player: add --term-remaining-playtime option 2023-08-13 19:58:20 +00:00
parse_commandline.c player: add playlist-path properties 2023-08-13 19:58:20 +00:00
parse_commandline.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
parse_configfile.c options: read config file as stream 2023-04-29 22:34:54 +00:00
parse_configfile.h options: read config file as stream 2023-04-29 22:34:54 +00:00
path.c path: handle URLs consistently in mp_basename 2023-06-01 22:47:48 +02:00
path.h path: expand internal path selection API to allow for additional types 2023-05-09 20:37:17 +00:00