Skip to content

Commit

Permalink
Merge pull request #824 from OxygenCobalt/hotfixes
Browse files Browse the repository at this point in the history
Version 3.5.2
  • Loading branch information
OxygenCobalt authored Jul 10, 2024
2 parents 6e07b3f + cf887ca commit 4a57d85
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 3.5.2

#### What's Fixed
- Fixed music loading failure from improper sort systems (For real this time)

## 3.5.1

#### What's Fixed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<h1 align="center"><b>Auxio</b></h1>
<h4 align="center">A simple, rational music player for android.</h4>
<p align="center">
<a href="https://github.com/oxygencobalt/Auxio/releases/tag/v3.5.1">
<img alt="Latest Version" src="https://img.shields.io/static/v1?label=tag&message=v3.5.1&color=64B5F6&style=flat">
<a href="https://github.com/oxygencobalt/Auxio/releases/tag/v3.5.2">
<img alt="Latest Version" src="https://img.shields.io/static/v1?label=tag&message=v3.5.2&color=64B5F6&style=flat">
</a>
<a href="https://github.com/oxygencobalt/Auxio/releases/">
<img alt="Releases" src="https://img.shields.io/github/downloads/OxygenCobalt/Auxio/total.svg?color=4B95DE&style=flat">
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ android {

defaultConfig {
applicationId namespace
versionName "3.5.1"
versionCode 47
versionName "3.5.2"
versionCode 48

minSdk 24
targetSdk 34
Expand Down
5 changes: 2 additions & 3 deletions app/src/main/java/org/oxycblt/auxio/music/info/Name.kt
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,11 @@ sealed interface Name : Comparable<Name> {
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
}

Expand Down
3 changes: 3 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/48.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4a57d85

Please sign in to comment.