From 2f43e4bc668f04a222500ab34536ef00149e209f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 21 Oct 2013 23:22:16 +0200 Subject: Playlist: copy stream tags from the PlayerThread Finally restores an important feature that has been broken for several months when the PlayerThread started working with Song copies instead of pointers to the Queue's Song instances (commit e96779d). --- src/Playlist.hxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/Playlist.hxx') diff --git a/src/Playlist.hxx b/src/Playlist.hxx index 866fd9a2d..88ea099c5 100644 --- a/src/Playlist.hxx +++ b/src/Playlist.hxx @@ -128,7 +128,12 @@ protected: public: void Clear(player_control &pc); - void TagChanged(); + /** + * A tag in the play queue has been modified by the player + * thread. Apply the given song's tag to the current song if + * the song matches. + */ + void TagModified(Song &&song); void FullIncrementVersions(); -- cgit v1.2.3