Tags: Implement unsynced lyrics in Vorbis plugin

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
xcode15
Christopher Snowhill 2023-02-23 17:45:05 -08:00
parent de974548de
commit 57a0ea6e87
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -147,6 +147,9 @@ static void setDictionary(NSMutableDictionary *dict, NSString *tag, NSString *va
}
flac_picture_free(picture);
}
} else if([tagName isEqualToString:@"unsynced lyrics"] ||
[tagName isEqualToString:@"lyrics"]) {
setDictionary(_metaDict, @"unsyncedlyrics", guess_encoding_of_string(value));
} else {
setDictionary(_metaDict, tagName, guess_encoding_of_string(value));
}