瀏覽代碼

fixes #910: Feature Request: Support for additional Image Formats

Luke Pulverenti 10 年之前
父節點
當前提交
639090ecf3
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      MediaBrowser.Server.Implementations/Library/Resolvers/PhotoResolver.cs

+ 2 - 1
MediaBrowser.Server.Implementations/Library/Resolvers/PhotoResolver.cs

@@ -30,7 +30,8 @@ namespace MediaBrowser.Server.Implementations.Library.Resolvers
             return null;
             return null;
         }
         }
 
 
-        protected static string[] ImageExtensions = { ".tiff", ".jpeg", ".jpg", ".png", ".aiff" };
+        // Some common file name extensions for RAW picture files include: .cr2, .crw, .dng, .nef, .orf, .rw2, .pef, .arw, .sr2, .srf, and .tif.
+        protected static string[] ImageExtensions = { ".tiff", ".jpeg", ".jpg", ".png", ".aiff", ".cr2", ".crw", "dng", ".nef", ".orf", ".pef", ".arw" };
 
 
         private static readonly string[] IgnoreFiles =
         private static readonly string[] IgnoreFiles =
         {
         {