Преглед на файлове

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;
         }
 
-        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 =
         {