Tags: Implement unsynced lyrics in Opus plugin

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
main
Christopher Snowhill 2023-02-23 17:44:45 -08:00
parent 403f02f961
commit 7b98a64035
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

View File

@ -170,6 +170,9 @@ static void setDictionary(NSMutableDictionary *dict, NSString *tag, NSString *va
}
}
opus_picture_tag_clear(&_pic);
} 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));
}