zyrouge / symphony

🎵 Lightweight, elegant music player for Android 9+.
https://zyrouge.github.io/symphony/
GNU Affero General Public License v3.0
1.17k stars 77 forks source link

[Feature Request] Store the metadata #486

Open CaptainKarma opened 5 months ago

CaptainKarma commented 5 months ago

Description

I have 40k tracks and everytime I start up Symphony it starts the scan from scratch. I'm not sure if this is by design or a bug, but it takes 30-40mins which isn't ideal.

Solution

After the initial scan, can it dump the data into a database and just use that as the baseline for the next restart? With the rescan option if I add more tracks and want to dump the database and start again? I don't need a keep in-sync option and all the hassle that would add to the app

Checklist

zyrouge commented 5 months ago

After initial scan, the results are always cached. I guess only you are facing this issue.

CaptainKarma commented 5 months ago

Could you expand on this please? I have it on my Samsung A50 and when I start the app, it ticks up the songs etc loading 40k tracks in about 1-2 minutes is this expected or should it be instant?

On my Teyes Android car headunit running Android 10, it doesn't seem to cache even after the initial scan, it will start again each time.

Is there any debug information I can gather than can help? Thanks in advance

zyrouge commented 5 months ago

Caching in done only on additional metadata. MediaStore query is cached by Android. My guess would be Android not caching MediaStore queries. Will look into implementing cache for that too.

CaptainKarma commented 5 months ago

Brilliant thank you for the great app!