Add a library identifier to disambiguate clashes in the library #238

Merged
wojtek merged 16 commits from 231---differentiate-release-groups-with-same-title-but-different-type-clash into main 2025-01-02 15:50:55 +01:00
Showing only changes of commit 6b5b16cece - Show all commits

View File

@ -231,7 +231,7 @@ mod tests {
}
#[test]
fn rescan_library_album_id_clash() {
fn rescan_library_different_artist_album_title_clash() {
let mut library = MockILibrary::new();
let mut expected = LIBRARY_COLLECTION.to_owned();
@ -246,7 +246,7 @@ mod tests {
item.album_title = clashed_album_id.title.clone();
}
expected[0].albums[0].meta.id = clashed_album_id.clone();
expected[0].albums[0].meta.id.title = clashed_album_id.title.clone();
let library_input = Query::new();
let library_result = Ok(items);