diff options
author | Max Kellermann <max@duempel.org> | 2016-02-23 21:01:55 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-02-23 21:01:55 +0100 |
commit | 39fa949345feed0a9e1d4f63035eea0e9bad8c9b (patch) | |
tree | 3eff9883fe774b4ebb275df2da3701b7fddb650c | |
parent | e1d7a5cbf51a1a7f54a9a36c736bcf52e6947579 (diff) |
queue/Playlist: move only the tag items in TagModified()
Fixes disappearing duration of remote songs during playback.
See http://bugs.musicpd.org/view.php?id=4492
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/queue/Playlist.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ ver 0.19.13 (not yet released) - aiff, riff: fix ID3 chunk padding * decoder - ffmpeg: support the TAK codec +* fix disappearing duration of remote songs during playback * initialize supplementary groups with glibc 2.19+ ver 0.19.12 (2015/12/15) diff --git a/src/queue/Playlist.cxx b/src/queue/Playlist.cxx index b2fd673b4..a9e8f5209 100644 --- a/src/queue/Playlist.cxx +++ b/src/queue/Playlist.cxx @@ -37,7 +37,7 @@ playlist::TagModified(DetachedSong &&song) DetachedSong ¤t_song = queue.GetOrder(current); if (song.IsSame(current_song)) - current_song.MoveTagFrom(std::move(song)); + current_song.MoveTagItemsFrom(std::move(song)); queue.ModifyAtOrder(current); queue.IncrementVersion(); |