Tags: Implement unsynced lyrics in FFmpeg plugin

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
xcode15
Christopher Snowhill 2023-02-23 17:44:01 -08:00
parent 190d6959fd
commit 593d7d155a
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -575,6 +575,9 @@ static void setDictionary(NSMutableDictionary *dict, NSString *tag, NSString *va
} else {
setDictionary(_metaDict, @"title", _title);
}
} else if(!strcasecmp(tag->key, "unsynced lyrics") ||
!strcasecmp(tag->key, "lyrics")) {
setDictionary(_metaDict, @"unsyncedlyrics", guess_encoding_of_string(tag->value));
} else if(!strcasecmp(tag->key, "icy-url")) {
setDictionary(_metaDict, @"album", guess_encoding_of_string(tag->value));
} else if(!strcasecmp(tag->key, "icy-genre")) {