1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00
mpv/player
Christoph Heinrich 8ea7aa5471 ytdl_hook: don't overwrite force-media-title
ytdl_hook always set force-media-title, making users unable to force
a media-title via options.

To prevent that, check if force-media-title is already set to avoid
overwriting it.

A better solution would be to use tags like is already done for some
metadata, however that doesn't work when `all_formats=yes` is used.
See cbb8f534b0
A comment was added to hint at why it isn't done via tags.

ref.
https://github.com/mpv-player/mpv/pull/10453#issuecomment-1445277496
2023-02-27 17:07:38 +00:00
..
javascript lua/js: remove user-data helpers 2023-01-29 01:52:31 +02:00
lua ytdl_hook: don't overwrite force-media-title 2023-02-27 17:07:38 +00:00
audio.c audio: remove a duplicate clearing of a struct variable 2023-02-27 17:02:19 +00:00
client.c client API: reintroduce CONF_TYPE_FLAG for type conversion 2023-02-27 11:21:49 +01:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c player: set playlist title to media title if not set already 2023-02-26 22:39:54 +00:00
command.h player: make deprecated track/chapter/metadata events internal 2021-12-15 12:29:10 +01:00
configfiles.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
core.h player/video: add VOCTRL_CONTENT_TYPE 2022-11-15 23:18:55 +00:00
external_files.c external_files: recognize webp files as cover art 2022-12-29 15:48:57 +01:00
external_files.h player: add automatic loading of external cover art files 2020-09-28 00:12:52 +02:00
javascript.c various: fix warning -Wimplicit-const-int-float-conversion 2023-02-26 16:45:07 +01:00
loadfile.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
lua.c lua: add mp.del_property() 2023-01-28 14:20:20 -06:00
main.c msg: log-file set at mpv.conf: don't ignore early messages 2023-01-23 11:05:08 +02:00
misc.c vo_wayland: fix warning -Wvoid-pointer-to-enum-cast 2023-02-26 16:45:07 +01:00
osd.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
playloop.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
screenshot.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00: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 various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
video.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00