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.
This commit is contained in:
Alexander Capehart 2023-06-07 09:42:12 -06:00
parent 55597e4976
commit 96874b3324
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
4 changed files with 17 additions and 4 deletions

View file

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

View file

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

View file

@ -1,2 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content />
<full-backup-content>
<!-- Cache databases are useless between devices, drop them -->
<exclude domain="database" path="music_cache.db" />
</full-backup-content>

View file

@ -1,5 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<data-extraction-rules>
<cloud-backup />
<device-transfer />
<!-- Cache databases are useless between devices, drop them -->
<cloud-backup>
<exclude domain="database" path="music_cache.db" />
</cloud-backup>
<device-transfer>
<exclude domain="database" path="music_cache.db" />
</device-transfer>
</data-extraction-rules>