aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.c
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/player_thread.c
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/player_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index 5c187ccd7..3da6e1e54 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -249,7 +249,7 @@ play_chunk(struct song *song, struct music_chunk *chunk,
/* the main thread will update the playlist
version when he receives this event */
- event_pipe_emit(PIPE_EVENT_PLAYLIST);
+ event_pipe_emit(PIPE_EVENT_TAG);
/* notify all clients that the tag of the
current song has changed */