Remove the existing artworks when merging metadata.
This commit is contained in:
1 parent
5b1fc61d02
commit
c0ad9c14db
1 file changed
+4
@@ -565,6 +565,10 @@ static const genreType_t genreType_strings[] = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (metadata.artworks.count) {
|
||||||
|
[artworks removeAllObjects];
|
||||||
|
}
|
||||||
|
|
||||||
for (MP42Image *artwork in metadata.artworks) {
|
for (MP42Image *artwork in metadata.artworks) {
|
||||||
isArtworkEdited = YES;
|
isArtworkEdited = YES;
|
||||||
[artworks addObject:artwork];
|
[artworks addObject:artwork];
|
||||||
|
|||||||
Reference in new issue
Block a user