aboutsummaryrefslogtreecommitdiffstats
path: root/src/event_pipe.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-20 22:49:19 +0100
committerMax Kellermann <max@duempel.org>2009-01-20 22:49:19 +0100
commit06bd9ad88f452348a01575810fc372244285734b (patch)
tree78dc0ca01802b8894d5997143c087ac35dcb0436 /src/event_pipe.h
parentd10910cc903160231912e5a762af9b54aa2846e0 (diff)
downloadmpd-06bd9ad88f452348a01575810fc372244285734b.tar.gz
mpd-06bd9ad88f452348a01575810fc372244285734b.tar.xz
mpd-06bd9ad88f452348a01575810fc372244285734b.zip
event_pipe: added "TAG" event
The "TAG" event is emitted by the player thread when the current song's tag has changed. Split this event from "PLAYLIST" and make it a separate callback, which is more efficient.
Diffstat (limited to '')
-rw-r--r--src/event_pipe.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event_pipe.h b/src/event_pipe.h
index 707da4611..5966d0674 100644
--- a/src/event_pipe.h
+++ b/src/event_pipe.h
@@ -36,6 +36,9 @@ enum pipe_event {
/** must call syncPlayerAndPlaylist() */
PIPE_EVENT_PLAYLIST,
+ /** the current song's tag has changed */
+ PIPE_EVENT_TAG,
+
/** SIGHUP received: reload configuration, roll log file */
PIPE_EVENT_RELOAD,