Explorar o código

Add support for avif and webp for photos (#8857)

Gen R %!s(int64=2) %!d(string=hai) anos
pai
achega
681be595ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Emby.Photos/PhotoProvider.cs

+ 1 - 1
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" };
 
         /// <summary>
         /// Initializes a new instance of the <see cref="PhotoProvider" /> class.