Rescanning library does not update the database #151
@ -72,7 +72,7 @@ impl<LIB, DB> MusicHoard<LIB, DB> {
|
||||
}
|
||||
}
|
||||
|
||||
fn merge_collections(&mut self) -> Collection {
|
||||
fn merge_collections(&self) -> Collection {
|
||||
let mut primary = self.library_cache.clone();
|
||||
for secondary_artist in self.database_cache.iter().cloned() {
|
||||
if let Some(ref mut primary_artist) = primary.get_mut(&secondary_artist.id) {
|
||||
|
Loading…
Reference in New Issue
Block a user