Commit c154d487 authored by Thomas Guillem's avatar Thomas Guillem

PlaybackService: fix playlist order

parent bd90bf50
......@@ -1860,7 +1860,7 @@ public class PlaybackService extends Service implements IVLCVout.Callback {
if (ml.getCount() > 0) {
mMediaList.remove(mCurrentIndex);
for (int i = 0; i < ml.getCount(); ++i) {
for (int i = ml.getCount() - 1; i >= 0; --i) {
final Media child = ml.getMediaAt(i);
child.parse();
mMediaList.insert(mCurrentIndex, new MediaWrapper(child));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment