feat: add sorting and search functionality for song list

This commit is contained in:
CappielloAntonio 2024-11-22 21:57:27 +01:00
parent 780f1c3a2e
commit 9e6926fc97
8 changed files with 198 additions and 9 deletions

View file

@ -76,6 +76,9 @@ object Constants {
const val MEDIA_MIX = "MEDIA_MIX"
const val MEDIA_CHRONOLOGY = "MEDIA_CHRONOLOGY"
const val MEDIA_BEST_OF = "MEDIA_BEST_OF"
const val MEDIA_BY_TITLE = "MEDIA_BY_TITLE"
const val MEDIA_MOST_RECENTLY_STARRED = "MEDIA_MOST_RECENTLY_STARRED"
const val MEDIA_LEAST_RECENTLY_STARRED = "MEDIA_LEAST_RECENTLY_STARRED"
const val DOWNLOAD_URI = "rest/download"

View file

@ -157,7 +157,7 @@ public class MusicUtil {
}
public static String getReadableAudioQualityString(Child child) {
if (!Preferences.showAudioQuality()) return "";
if (!Preferences.showAudioQuality() || child.getBitrate() == null) return "";
return "" +
" " +