mpv/common
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
..
av_common.c common/av_common: clean up mp_lavc_set_extradata 2023-03-14 23:59:47 +02:00
av_common.h common/av_common: clean up mp_lavc_set_extradata 2023-03-14 23:59:47 +02:00
av_log.c common/av_log: move general FFmpeg version before library versions 2022-11-15 21:41:22 +02:00
av_log.h
codecs.c
codecs.h
common.c
common.h player: add video-sync=display-tempo 2023-01-09 15:17:09 +00:00
encode.h options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
encode_lavc.c encode_lavc: fix leak of codecpar 2023-07-26 11:26:36 +02:00
encode_lavc.h encode_lavc: replace deprecated av_init_packet() 2022-01-10 22:56:52 +01:00
global.h path: simplify "cache" and "state" fallback 2023-05-21 20:11:24 +02:00
meson.build build: remove version.py 2023-08-02 18:51:13 +00:00
msg.c msg: print MSGL_WARN and higher error messages to stderr 2023-07-24 22:48:30 +02:00
msg.h
msg_control.h player: add --term-title option 2020-05-25 20:39:37 +02:00
playlist.c player: add playlist-path properties 2023-08-13 19:58:20 +00:00
playlist.h player: add playlist-path properties 2023-08-13 19:58:20 +00:00
recorder.c ffmpeg: update to handle deprecation of `av_init_packet` 2022-12-03 14:44:18 -08:00
recorder.h recorder: add support for attachments (fonts) 2021-07-08 12:44:06 +03:00
stats.c build: add meson build support 2021-11-14 19:13:10 +00:00
stats.h
tags.c
tags.h
version.c version: move NO_BUILD_TIMESTAMPS check to version.h.in 2023-08-02 18:51:13 +00:00
version.h.in version: move NO_BUILD_TIMESTAMPS check to version.h.in 2023-08-02 18:51:13 +00:00