[Android] Sort Artist tracks by Album

Geoffrey Métais git at videolan.org
Tue Jan 8 15:20:27 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan  8 14:49:23 2019 +0100| [eda18539292d15f82ff6eecec11685db0219d8ed] | committer: Geoffrey Métais

Sort Artist tracks by Album

> https://code.videolan.org/videolan/vlc-android/commit/eda18539292d15f82ff6eecec11685db0219d8ed
---

 medialibrary/src/org/videolan/medialibrary/media/Artist.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/medialibrary/src/org/videolan/medialibrary/media/Artist.java b/medialibrary/src/org/videolan/medialibrary/media/Artist.java
index 3198eceee..533716cf7 100644
--- a/medialibrary/src/org/videolan/medialibrary/media/Artist.java
+++ b/medialibrary/src/org/videolan/medialibrary/media/Artist.java
@@ -94,7 +94,7 @@ public class Artist extends MediaLibraryItem {
     }
 
     public MediaWrapper[] getTracks() {
-        return getTracks(Medialibrary.SORT_DEFAULT, false);
+        return getTracks(Medialibrary.SORT_ALBUM, false);
     }
 
     public MediaWrapper[] getTracks(int sort, boolean desc) {



More information about the Android mailing list