From b0c718003b99a44dceea65f256d144fcd6dad0a6 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Thu, 23 Feb 2023 17:44:19 -0800 Subject: [PATCH] Tags: Implement unsynced lyrics in Flac plugin Signed-off-by: Christopher Snowhill --- Plugins/Flac/FlacDecoder.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Plugins/Flac/FlacDecoder.m b/Plugins/Flac/FlacDecoder.m index 0d2990d90..1be3c60e6 100644 --- a/Plugins/Flac/FlacDecoder.m +++ b/Plugins/Flac/FlacDecoder.m @@ -255,6 +255,9 @@ void MetadataCallback(const FLAC__StreamDecoder *decoder, const FLAC__StreamMeta const char *_value = [value UTF8String] + 2; flacDecoder->channelConfig = (uint32_t)strtoul(_value, &end, 16); } + } else if([name isEqualToString:@"unsynced lyrics"] || + [name isEqualToString:@"lyrics"]) { + setDictionary(_metaDict, @"unsyncedlyrics", value); } else { setDictionary(_metaDict, name, value); }