From 593d7d155a99264641c29136b33f45a5d18e6ab5 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Thu, 23 Feb 2023 17:44:01 -0800 Subject: [PATCH] Tags: Implement unsynced lyrics in FFmpeg plugin Signed-off-by: Christopher Snowhill --- Plugins/FFMPEG/FFMPEGDecoder.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Plugins/FFMPEG/FFMPEGDecoder.m b/Plugins/FFMPEG/FFMPEGDecoder.m index 31709efdc..1fe149142 100644 --- a/Plugins/FFMPEG/FFMPEGDecoder.m +++ b/Plugins/FFMPEG/FFMPEGDecoder.m @@ -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")) {