From 96874b332480e88a3909b54c0677b7afb1a5ea10 Mon Sep 17 00:00:00 2001 From: Alexander Capehart Date: Wed, 7 Jun 2023 09:42:12 -0600 Subject: [PATCH] music: do not transfer cache db Do not transfer the cache db between devices, drop it instead. This is at best useless (timestamps and ids will be invalid) and at worst actively detrimental (timestamps and ids are similar), so better to reindex than try to read from the cache. Resolves #467. --- CHANGELOG.md | 5 +++++ app/src/main/AndroidManifest.xml | 2 +- app/src/main/res/xml/backup_descriptor.xml | 5 ++++- app/src/main/res/xml/data_extraction_rules.xml | 9 +++++++-- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c2556181..f8281d98b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## dev + +#### What's Fixed +- Disc number is no longer mis-aligned when no subtitle is present + ## 3.1.1 #### What's New diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 81daa45e1..fd7b28a4a 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -24,12 +24,12 @@ android:name=".Auxio" android:allowBackup="true" android:fullBackupContent="@xml/backup_descriptor" + android:dataExtractionRules="@xml/data_extraction_rules" android:icon="@mipmap/ic_launcher" android:label="@string/info_app_name" android:roundIcon="@mipmap/ic_launcher" android:supportsRtl="true" android:theme="@style/Theme.Auxio.App" - android:dataExtractionRules="@xml/data_extraction_rules" android:appCategory="audio" android:enableOnBackInvokedCallback="true" tools:ignore="UnusedAttribute"> diff --git a/app/src/main/res/xml/backup_descriptor.xml b/app/src/main/res/xml/backup_descriptor.xml index 1b0854f7d..587567dab 100644 --- a/app/src/main/res/xml/backup_descriptor.xml +++ b/app/src/main/res/xml/backup_descriptor.xml @@ -1,2 +1,5 @@ - + + + + diff --git a/app/src/main/res/xml/data_extraction_rules.xml b/app/src/main/res/xml/data_extraction_rules.xml index 40ee2c3f7..a95e572f9 100644 --- a/app/src/main/res/xml/data_extraction_rules.xml +++ b/app/src/main/res/xml/data_extraction_rules.xml @@ -1,5 +1,10 @@ - - + + + + + + + \ No newline at end of file