From 7f3bf052ca2fd14213a46a5a3a525122813a55b2 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 16 Feb 2022 01:56:34 -0800 Subject: [PATCH] Update supported file name extensions for art Art read from external files supports more formats than previously listed here. Amend the list accordingly. Signed-off-by: Christopher Snowhill --- Plugins/TagLib/TagLibMetadataReader.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/TagLib/TagLibMetadataReader.m b/Plugins/TagLib/TagLibMetadataReader.m index 6cc3e7a2a..35925d6cf 100644 --- a/Plugins/TagLib/TagLibMetadataReader.m +++ b/Plugins/TagLib/TagLibMetadataReader.m @@ -214,7 +214,7 @@ // Gather list of candidate image files NSArray *fileNames = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:path error:nil]; - NSArray *types = @[@"jpg", @"jpeg", @"png"]; + NSArray *types = @[@"jpg", @"jpeg", @"png", @"gif", @"webp", @"avif"]; NSArray *imageFileNames = [fileNames pathsMatchingExtensions:types]; for(NSString *fileName in imageFileNames) {