diff --git a/CHANGELOG.md b/CHANGELOG.md index ce0284a29..0795ae5a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,11 @@ - Excessive CPU no longer spent showing music loading process - Fixed playback sheet flickering on warm start +## 3.5.2 + +#### What's Fixed +- Fixed music loading failure from improper sort systems (For real this time) + ## 3.5.1 #### What's Fixed diff --git a/README.md b/README.md index add156e6e..f4a19c15d 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@

Auxio

A simple, rational music player for android.

- - Latest Version + + Latest Version Releases diff --git a/app/build.gradle b/app/build.gradle index 82c113724..f032fe901 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -21,8 +21,8 @@ android { defaultConfig { applicationId namespace - versionName "3.5.1" - versionCode 47 + versionName "3.5.2" + versionCode 48 minSdk 24 targetSdk 34 diff --git a/app/src/main/java/org/oxycblt/auxio/music/info/Name.kt b/app/src/main/java/org/oxycblt/auxio/music/info/Name.kt index 30626f01e..3f5662b8d 100644 --- a/app/src/main/java/org/oxycblt/auxio/music/info/Name.kt +++ b/app/src/main/java/org/oxycblt/auxio/music/info/Name.kt @@ -70,12 +70,11 @@ sealed interface Name : Comparable { final override fun compareTo(other: Name) = when (other) { is Known -> { - // Progressively compare the sort tokens between each known name. - sortTokens.zip(other.sortTokens).fold(0) { acc, (token, otherToken) -> + val result = sortTokens.zip(other.sortTokens).fold(0) { acc, (token, otherToken) -> acc.takeIf { it != 0 } ?: token.compareTo(otherToken) } + if (result != 0) result else sortTokens.size.compareTo(other.sortTokens.size) } - // Unknown names always come before known names. is Unknown -> 1 } diff --git a/fastlane/metadata/android/en-US/changelogs/48.txt b/fastlane/metadata/android/en-US/changelogs/48.txt new file mode 100644 index 000000000..44e3fc9d1 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/48.txt @@ -0,0 +1,3 @@ +Auxio 3.5.0 adds support for android auto alongside various playback and music quality of life improvements. +This release fixes a critical bug with the music loader. +For more information, see https://github.com/OxygenCobalt/Auxio/releases/tag/v3.5.2 \ No newline at end of file