0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/player
Guido Cella dc998560aa options: add --osd-playlist-entry
Allow configuring whether to print the media-title, the filename or both
(as `<title> (<filename>)`) in show-text ${playlist}, the OSC playlist
and in the playlist selector.

Showing only titles hides information when files are badly tagged, or
when it hides the track numbers of album songs. But showing filenames is
not as useful as titles e.g. when playing URLs with media titles. This
option lets the user choose which one to show, or show both if switching
is inconvenient.

The OSC's playlist_media_title script-opt is removed because this option
is better since it works everywhere after configuring it once.

Closes #11653.

Also show the full URLs of playlist entries instead of their basenames
in osc.lua and select.lua, consistently with mp_property_playlist().

For simplicity, this just checks if entries contain :// instead of
replicating all of mp_is_url().

Co-authored-by: Kacper Michajłow <kasper93@gmail.com>
2024-06-08 01:43:15 +02:00
..
javascript default.js: handle canceled key bindings 2024-06-06 23:38:39 +03:00
lua options: add --osd-playlist-entry 2024-06-08 01:43:15 +02:00
audio.c player: put speed adjustment back into playing_audio_pts 2024-05-29 13:48:40 +00:00
client.c player/client: fix typo in description of MPV_ERROR_UNINITIALIZED 2024-05-08 18:52:40 +02:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c options: add --osd-playlist-entry 2024-06-08 01:43:15 +02:00
command.h options: add --input-commands option 2024-03-21 14:48:53 +00:00
configfiles.c player: replace get_current_time with get_playback_time in some spots 2024-05-29 13:48:40 +00:00
core.h player/playloop: remove now unused get_percent_pos() 2024-06-03 19:16:35 +02:00
external_files.c misc/language: move mp_guess_lang_from_filename() here 2024-05-10 01:22:31 +02:00
external_files.h misc/language: move mp_guess_lang_from_filename() here 2024-05-10 01:22:31 +02:00
javascript.c osdep/dirent: add implementation for Windows SDK build 2024-05-06 22:01:17 +02:00
loadfile.c loadfile: improve the format of terminal track information 2024-06-07 22:24:25 +02:00
lua.c select.lua: add this script 2024-05-12 23:13:48 +02:00
main.c player/main: concat string at compile time 2024-06-05 19:16:35 +02:00
meson.build meson: generate .com in the same place as the .exe if possible 2023-11-27 18:42:19 +00:00
misc.c win32: quantize taskbar playback position into uint8 range 2024-06-03 19:16:35 +02:00
osd.c osd: don't use get_percent_pos function 2024-06-03 15:14:40 +02:00
playloop.c player/playloop: remove now unused get_percent_pos() 2024-06-03 19:16:35 +02:00
screenshot.c image_writer: fix TOCTOU in screenshot filename generation 2024-03-19 19:30:27 +01:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c select.lua: add this script 2024-05-12 23:13:48 +02:00
sub.c sub: avoid unneeded calls to is_animated 2024-06-04 12:29:13 +00:00
video.c player: put speed adjustment back into playing_audio_pts 2024-05-29 13:48:40 +00:00