Compare commits

...

4 commits

Author SHA1 Message Date
Alexander Capehart
20665c0a7d
Merge branch 'master' into playback 2024-07-31 19:26:44 -06:00
Alexander Capehart
4a57d85037
Merge pull request #824 from OxygenCobalt/hotfixes
Version 3.5.2
2024-07-10 07:05:41 -06:00
Alexander Capehart
cf887cacb7
build: bump to 3.5.2
Bump to version 3.5.2 (48).
2024-07-10 06:54:39 -06:00
Alexander Capehart
24dbd04ca6
music: fix broken name comparator 2024-07-10 06:51:32 -06:00
5 changed files with 14 additions and 7 deletions

View file

@ -15,6 +15,11 @@
- Excessive CPU no longer spent showing music loading process - Excessive CPU no longer spent showing music loading process
- Fixed playback sheet flickering on warm start - 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 ## 3.5.1
#### What's Fixed #### What's Fixed

View file

@ -2,8 +2,8 @@
<h1 align="center"><b>Auxio</b></h1> <h1 align="center"><b>Auxio</b></h1>
<h4 align="center">A simple, rational music player for android.</h4> <h4 align="center">A simple, rational music player for android.</h4>
<p align="center"> <p align="center">
<a href="https://github.com/oxygencobalt/Auxio/releases/tag/v3.5.1"> <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.1&color=64B5F6&style=flat"> <img alt="Latest Version" src="https://img.shields.io/static/v1?label=tag&message=v3.5.2&color=64B5F6&style=flat">
</a> </a>
<a href="https://github.com/oxygencobalt/Auxio/releases/"> <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"> <img alt="Releases" src="https://img.shields.io/github/downloads/OxygenCobalt/Auxio/total.svg?color=4B95DE&style=flat">

View file

@ -21,8 +21,8 @@ android {
defaultConfig { defaultConfig {
applicationId namespace applicationId namespace
versionName "3.5.1" versionName "3.5.2"
versionCode 47 versionCode 48
minSdk 24 minSdk 24
targetSdk 34 targetSdk 34

View file

@ -70,12 +70,11 @@ sealed interface Name : Comparable<Name> {
final override fun compareTo(other: Name) = final override fun compareTo(other: Name) =
when (other) { when (other) {
is Known -> { is Known -> {
// Progressively compare the sort tokens between each known name. val result = sortTokens.zip(other.sortTokens).fold(0) { acc, (token, otherToken) ->
sortTokens.zip(other.sortTokens).fold(0) { acc, (token, otherToken) ->
acc.takeIf { it != 0 } ?: token.compareTo(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 is Unknown -> 1
} }

View file

@ -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