summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorChristoph Heinrich <christoph.heinrich@student.tugraz.at>2023-02-26 19:49:23 +0100
committerDudemanguy <random342@airmail.cc>2023-02-27 17:07:38 +0000
commit8ea7aa54719f790d64f3d96c63a7c8eaf756ca27 (patch)
tree77bbd68d110657aaa2080208c43330c193b0eb0c /wscript
parent42fd6f5f6f78a9cdd453d9a5263bb52dbb19d866 (diff)
downloadmpv-8ea7aa54719f790d64f3d96c63a7c8eaf756ca27.tar.bz2
mpv-8ea7aa54719f790d64f3d96c63a7c8eaf756ca27.tar.xz
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 cbb8f534b064f144820435148e516978de08cb30 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
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions