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.
This commit is contained in:
Max Kellermann
2009-01-20 22:49:19 +01:00
parent d10910cc90
commit 06bd9ad88f
4 changed files with 22 additions and 34 deletions

View File

@@ -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,