-
Bug
-
Resolution: Fixed
-
High
-
2.0.4
-
None
To reproduce:
- add 2000+ files to Unclustered Files
- select Unclustered Files
- press Remove
The offender is https://github.com/metabrainz/picard/blob/master/picard/cluster.py#L117
The call to update_metadata_images iterates over all files checking image changes for the cluster / album / track
- resolves
-
PICARD-1432 Application performance while clustering large libraries
-
- Closed
-
The committed fix has side effects. The issue is that remove_file() is not only used for actually removing a file completely, but also when moving files between clusters and/or tracks. In these cases the parent cluster/track currently is not updated anymore.
But actually the same performance issues apply there: Moving a huge amount of files between one cluster/track and another causes the same unnecesary update_metadata_images calls. So we should fix these cases as well properly.