icefields / Power-Ampache-2

Android Music Streaming App suite in Material You style.
 Connects to Ampache, Nextcloud Music and compatible backends (Ampache API 4 and above).
https://power.ampache.dev
GNU General Public License v3.0
80 stars 7 forks source link

[Bug] old library metadata stays in the app after a rescan #135

Open Dremor opened 4 months ago

Dremor commented 4 months ago

I use Nextcloud Music as the server, and after clearing the database to do a rescan, PA2 shows ghost empty albums of the previous scanned library, in addition to those of the newly scanned library. Clearing cache do not clean that.

Maybe a simple fix would be to remove any albums, artist, etc. with no tracks.

Screenshot_20240703-094614_Power Ampache 2 Screenshot_20240703-094933_Power Ampache 2

icefields commented 4 months ago

hello @Dremor , thanks for the report, that looks like a bug. I will look into it and work on a fix for the next release. In the meantime, to clear the internal database try to logout and then log back in.