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
This commit is contained in:
parent
e1d7a5cbf5
commit
39fa949345
1
NEWS
1
NEWS
|
@ -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)
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue