sort songs by disc number on album details page
This commit is contained in:
parent
5c7be50dfa
commit
35f71fc6f3
6 changed files with 13 additions and 14 deletions
|
|
@ -146,12 +146,6 @@ public class MusicUtil {
|
|||
return one + " • " + two;
|
||||
}
|
||||
|
||||
// iTunes uses for example 1002 for track 2 CD1 or 3011 for track 11 CD3.
|
||||
// this method converts those values to normal track numbers
|
||||
public static int getFixedTrackNumber(int trackNumberToFix) {
|
||||
return trackNumberToFix % 1000;
|
||||
}
|
||||
|
||||
public static void toggleFavorite(@NonNull final Context context, @NonNull final Song song) {
|
||||
song.favorite = !song.favorite;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue