소스 검색

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

Gen R 3 년 전
부모
커밋
681be595ce
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.