command: notify media-title on force-media-title change

Fixes #12887
This commit is contained in:
Christoph Heinrich 2023-11-13 22:20:56 +01:00 committed by Dudemanguy
parent a6fb9321ea
commit cb89c7ef89
1 changed files with 2 additions and 0 deletions

View File

@ -6971,6 +6971,8 @@ void mp_option_change_callback(void *ctx, struct m_config_option *co, int flags,
if (co)
mp_notify_property(mpctx, co->name);
if (opt_ptr == &opts->media_title)
mp_notify(mpctx, MP_EVENT_METADATA_UPDATE, NULL);
if (self_update)
return;