LukePulverenti Luke Pulverenti luke pulverenti пре 13 година
родитељ
комит
8d693fd2ab
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      MediaBrowser.Controller/Resolvers/VideoResolver.cs

+ 1 - 1
MediaBrowser.Controller/Resolvers/VideoResolver.cs

@@ -30,7 +30,7 @@ namespace MediaBrowser.Controller.Resolvers
             {
             {
                 if (IsVideoFile(args.Path))
                 if (IsVideoFile(args.Path))
                 {
                 {
-                    VideoType type = Path.GetExtension(args.Path).EndsWith("", System.StringComparison.OrdinalIgnoreCase) ? VideoType.Iso : VideoType.VideoFile;
+                    VideoType type = Path.GetExtension(args.Path).EndsWith("iso", System.StringComparison.OrdinalIgnoreCase) ? VideoType.Iso : VideoType.VideoFile;
 
 
                     return new T()
                     return new T()
                     {
                     {