diff options
author | Max Kellermann <max@duempel.org> | 2013-11-05 18:22:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-05 18:22:34 +0100 |
commit | ae5dd2da4fa695a19032136a845ea43e7c105bff (patch) | |
tree | 04a2b427ca41bb1a88e8c44791987d4f123f2084 | |
parent | f4b61e8c8dc04e89514677018900ac357d4f5a2b (diff) | |
download | mpd-ae5dd2da4fa695a19032136a845ea43e7c105bff.tar.gz mpd-ae5dd2da4fa695a19032136a845ea43e7c105bff.tar.xz mpd-ae5dd2da4fa695a19032136a845ea43e7c105bff.zip |
playlist/pls: fix reversed song order
Remove the forward_list::reverse() call. It was not necessary,
because pls_parser() already reads the playlist in reverse order.
Diffstat (limited to '')
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/playlist/PlsPlaylistPlugin.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,6 @@ ver 0.18.2 (2013/??/??) +* playlist: + - pls: fix reversed song order * decoder: - dsf: enable DSD128 * fix build failures due to missing includes diff --git a/src/playlist/PlsPlaylistPlugin.cxx b/src/playlist/PlsPlaylistPlugin.cxx index b6c723b5a..d44a34cdf 100644 --- a/src/playlist/PlsPlaylistPlugin.cxx +++ b/src/playlist/PlsPlaylistPlugin.cxx @@ -155,7 +155,6 @@ pls_open_stream(InputStream &is) pls_parser(keyfile, songs); g_key_file_free(keyfile); - songs.reverse(); return new MemorySongEnumerator(std::move(songs)); } |