From f1a6b77d303359ccde98071d62fe4e456967c60a Mon Sep 17 00:00:00 2001 From: Alexander Capehart Date: Sun, 14 Jan 2024 09:55:43 -0700 Subject: [PATCH 1/2] music: fix other music loading failure from dirs Turns out there are two ways the selector can go malformed. One was the complicated issue where you can't resolve a directory, the other was me *missing a character* and not even building the selector right. --- .../org/oxycblt/auxio/music/fs/MediaStorePathInterpreter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/oxycblt/auxio/music/fs/MediaStorePathInterpreter.kt b/app/src/main/java/org/oxycblt/auxio/music/fs/MediaStorePathInterpreter.kt index 8a9a4e1df..49c068a0b 100644 --- a/app/src/main/java/org/oxycblt/auxio/music/fs/MediaStorePathInterpreter.kt +++ b/app/src/main/java/org/oxycblt/auxio/music/fs/MediaStorePathInterpreter.kt @@ -216,7 +216,7 @@ private constructor(private val cursor: Cursor, volumeManager: VolumeManager) : var template = "" for (i in paths.indices) { val path = paths[i] - template = + template += if (args.isEmpty()) { "(${MediaStore.Audio.AudioColumns.VOLUME_NAME} LIKE ? " + "AND ${MediaStore.Audio.AudioColumns.RELATIVE_PATH} LIKE ?)" From 3d1fa6e4ffebbb42d6ef2d9aab04adbad319f6fc Mon Sep 17 00:00:00 2001 From: Alexander Capehart Date: Sun, 14 Jan 2024 09:57:36 -0700 Subject: [PATCH 2/2] info: bump to 3.3.2 Bump to version 3.3.2 (39). --- CHANGELOG.md | 5 +++++ README.md | 4 ++-- app/build.gradle | 4 ++-- fastlane/metadata/android/en-US/changelogs/39.txt | 3 +++ 4 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/39.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 04987976c..e723a7831 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 3.3.2 + +#### What's Fixed +- Fixed music loading failing with an SQL error with certain music folder configurations + ## 3.3.1 #### What's Improved diff --git a/README.md b/README.md index b78bca77d..e40ed0b5e 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 c908a0094..13aa46703 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -21,8 +21,8 @@ android { defaultConfig { applicationId namespace - versionName "3.3.1" - versionCode 38 + versionName "3.3.2" + versionCode 39 minSdk 24 targetSdk 34 diff --git a/fastlane/metadata/android/en-US/changelogs/39.txt b/fastlane/metadata/android/en-US/changelogs/39.txt new file mode 100644 index 000000000..722f36bdc --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/39.txt @@ -0,0 +1,3 @@ +Auxio 3.3.2 adds the ability to import and export playlists, skip gestures, and fixes/improvements to the music loader. +This release fixes a critical bug with the music loader, among other issues. +For more information, see https://github.com/OxygenCobalt/Auxio/releases/tag/v3.3.2 \ No newline at end of file