Merge pull request #1061 from OxygenCobalt/dev

v4.0.4
This commit is contained in:
Alexander Capehart 2025-03-18 16:08:37 -06:00 committed by GitHub
commit 2b51b836af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 15 additions and 6 deletions

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/v4.0.3"> <a href="https://github.com/oxygencobalt/Auxio/releases/tag/v4.0.4">
<img alt="Latest Version" src="https://img.shields.io/static/v1?label=tag&message=v4.0.3&color=64B5F6&style=flat"> <img alt="Latest Version" src="https://img.shields.io/static/v1?label=tag&message=v4.0.4&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

@ -18,8 +18,8 @@ android {
defaultConfig { defaultConfig {
applicationId namespace applicationId namespace
versionName "4.0.3" versionName "4.0.4"
versionCode 62 versionCode 63
minSdk min_sdk minSdk min_sdk
targetSdk target_sdk targetSdk target_sdk

View file

@ -0,0 +1,5 @@
Auxio 4.0.0 completely overhauls the user experience, with a refreshed design based on the latest Material Design specs
and a brand new music loader with signifigant improvements to device and tag support.
This issue fixes several regressions from v3.6.3's functionality, primarily fixing issues related to background playback
and inefficiencies/errors in the new music loader.
For more information, see https://github.com/OxygenCobalt/Auxio/releases/tag/v4.0.4.

View file

@ -82,9 +82,13 @@ class MutableStoredCovers(
is CoverResult.Miss -> return CoverResult.Miss() is CoverResult.Miss -> return CoverResult.Miss()
} }
val innerCover = val innerCover =
try {
coverStorage.write(memoryCover.id + transcoding.tag) { coverStorage.write(memoryCover.id + transcoding.tag) {
transcoding.transcodeInto(memoryCover.data(), it) transcoding.transcodeInto(memoryCover.data(), it)
} }
} catch (e: Exception) {
return CoverResult.Miss()
}
return CoverResult.Hit(StoredCover(innerCover)) return CoverResult.Hit(StoredCover(innerCover))
} }