From 681be595cea8254cbac5bbb3bdc9083c4780db21 Mon Sep 17 00:00:00 2001 From: Gen R Date: Tue, 6 Dec 2022 22:32:26 +0800 Subject: [PATCH] Add support for avif and webp for photos (#8857) --- Emby.Photos/PhotoProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Emby.Photos/PhotoProvider.cs b/Emby.Photos/PhotoProvider.cs index cef82b4d66..16e9b18e2c 100644 --- a/Emby.Photos/PhotoProvider.cs +++ b/Emby.Photos/PhotoProvider.cs @@ -27,7 +27,7 @@ namespace Emby.Photos private readonly IImageProcessor _imageProcessor; // These are causing taglib to hang - private readonly string[] _includeExtensions = new string[] { ".jpg", ".jpeg", ".png", ".tiff", ".cr2" }; + private readonly string[] _includeExtensions = new string[] { ".jpg", ".jpeg", ".png", ".tiff", ".cr2", ".webp", ".avif" }; /// /// Initializes a new instance of the class.