diff options
author | Christoph Heinrich <christoph.heinrich@student.tugraz.at> | 2023-11-13 22:20:56 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-11-15 14:57:32 +0000 |
commit | cb89c7ef898e59e8e0f22f27c966666fe87c705b (patch) | |
tree | c12912963c0a47bb12be59cbc8d2176a24b85826 /player | |
parent | a6fb9321ea137e01fb1a702a31d2c6b40b2509a3 (diff) | |
download | mpv-cb89c7ef898e59e8e0f22f27c966666fe87c705b.tar.bz2 mpv-cb89c7ef898e59e8e0f22f27c966666fe87c705b.tar.xz |
command: notify media-title on force-media-title change
Fixes #12887
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c index 937831107f..e928eeda34 100644 --- a/player/command.c +++ b/player/command.c @@ -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; |