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];
|
[tagsDict setValue:value forKey:key];
|
||||||
}
|
}
|
||||||
} else if ([key isEqualToString:@"Rating"]) {
|
} else if ([key isEqualToString:@"Rating"]) {
|
||||||
|
isEdited = YES;
|
||||||
if ([value isKindOfClass:[NSString class]]) {
|
if ([value isKindOfClass:[NSString class]]) {
|
||||||
NSNumber *index = @([[MP42Ratings defaultManager] ratingIndexForiTunesCode:value]);
|
NSNumber *index = @([[MP42Ratings defaultManager] ratingIndexForiTunesCode:value]);
|
||||||
[tagsDict setValue:index forKey:key];
|
[tagsDict setValue:index forKey:key];
|
||||||
|
|||||||
Reference in new issue
Block a user