diff options
author | wm4 <wm4@nowhere> | 2015-03-15 15:41:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-15 15:41:01 +0100 |
commit | fadf03354ebbdd900eec0670eaad1ee309a43d96 (patch) | |
tree | 18b7b386e6c8f28ecdd419ad9bb0b4f3f45d16bf /player/command.c | |
parent | add4c9ee037bb619509e660664a08b6f56531c30 (diff) | |
download | mpv-fadf03354ebbdd900eec0670eaad1ee309a43d96.tar.bz2 mpv-fadf03354ebbdd900eec0670eaad1ee309a43d96.tar.xz |
command: make "media-title" observable
If metadata changes, its value could change.
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c index 3c190cef73..a9314f0805 100644 --- a/player/command.c +++ b/player/command.c @@ -3561,7 +3561,7 @@ static const char *const *const mp_event_property_change[] = { "volume-restore-data", "current-ao"), E(MPV_EVENT_SEEK, "seeking", "core-idle"), E(MPV_EVENT_PLAYBACK_RESTART, "seeking", "core-idle"), - E(MPV_EVENT_METADATA_UPDATE, "metadata", "filtered-metadata"), + E(MPV_EVENT_METADATA_UPDATE, "metadata", "filtered-metadata", "media-title"), E(MPV_EVENT_CHAPTER_CHANGE, "chapter", "chapter-metadata"), E(MP_EVENT_CACHE_UPDATE, "cache", "cache-free", "cache-used", "cache-idle", "demuxer-cache-duration", "demuxer-cache-idle", "paused-for-cache"), |