Tags: Implement unsynced lyrics in Vorbis plugin

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
main
Christopher Snowhill 2023-02-23 17:45:05 -08:00
parent 7b98a64035
commit 8eaafe8f9b
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); flac_picture_free(picture);
} }
} else if([tagName isEqualToString:@"unsynced lyrics"] ||
[tagName isEqualToString:@"lyrics"]) {
setDictionary(_metaDict, @"unsyncedlyrics", guess_encoding_of_string(value));
} else { } else {
setDictionary(_metaDict, tagName, guess_encoding_of_string(value)); setDictionary(_metaDict, tagName, guess_encoding_of_string(value));
} }