Fix rating not saving if it was the old metadata modified.
This commit is contained in:
1 parent
855145c784
commit
57bfe746a9
1 file changed
+1
@@ -691,6 +691,7 @@ static const genreType_t genreType_strings[] = {
|
||||
[tagsDict setValue:value forKey:key];
|
||||
}
|
||||
} else if ([key isEqualToString:@"Rating"]) {
|
||||
isEdited = YES;
|
||||
if ([value isKindOfClass:[NSString class]]) {
|
||||
NSNumber *index = @([[MP42Ratings defaultManager] ratingIndexForiTunesCode:value]);
|
||||
[tagsDict setValue:index forKey:key];
|
||||
|
||||
Reference in new issue
Block a user