aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-05 18:22:34 +0100
committerMax Kellermann <max@duempel.org>2013-11-05 18:22:34 +0100
commitae5dd2da4fa695a19032136a845ea43e7c105bff (patch)
tree04a2b427ca41bb1a88e8c44791987d4f123f2084
parentf4b61e8c8dc04e89514677018900ac357d4f5a2b (diff)
downloadmpd-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.
-rw-r--r--NEWS2
-rw-r--r--src/playlist/PlsPlaylistPlugin.cxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a45017ee9..d85f00759 100644
--- a/NEWS
+++ b/NEWS
@@ -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));
}