summaryrefslogtreecommitdiffstats
path: root/libmpv
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-19 16:00:37 +0100
committerwm4 <wm4@nowhere>2014-02-19 16:00:37 +0100
commit0ad2211508a513b8e38623fcebfa4937d001c30d (patch)
treed4fa2b6088136f769cbabc96adbf1de44b7d05f1 /libmpv
parent57c9f5236a43efd9d979b7ee18a25de2d3d88dd5 (diff)
downloadmpv-0ad2211508a513b8e38623fcebfa4937d001c30d.tar.bz2
mpv-0ad2211508a513b8e38623fcebfa4937d001c30d.tar.xz
client API: add event for metadata changes
Diffstat (limited to 'libmpv')
-rw-r--r--libmpv/client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libmpv/client.h b/libmpv/client.h
index 7bc613b15e..5139ceddfa 100644
--- a/libmpv/client.h
+++ b/libmpv/client.h
@@ -638,6 +638,12 @@ typedef enum mpv_event_id {
* because there is no such thing as audio output embedding.
*/
MPV_EVENT_AUDIO_RECONFIG = 18,
+ /**
+ * Happens when metadata (like file tags) is possibly updated. (It's left
+ * unspecified whether this happens on file start or only when it changes
+ * within a file.)
+ */
+ MPV_EVENT_METADATA_UPDATE = 19,
} mpv_event_id;
/**