From 06bd9ad88f452348a01575810fc372244285734b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 20 Jan 2009 22:49:19 +0100 Subject: 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. --- src/event_pipe.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/event_pipe.h') 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, -- cgit v1.2.3