Explorar o código

Check location type in CreateResolveArgs

Eric Reed %!s(int64=12) %!d(string=hai) anos
pai
achega
13e6819ddd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      MediaBrowser.Controller/Entities/BaseItem.cs

+ 1 - 1
MediaBrowser.Controller/Entities/BaseItem.cs

@@ -313,7 +313,7 @@ namespace MediaBrowser.Controller.Entities
             var path = Path;
 
             // non file-system entries will not have a path
-            if (string.IsNullOrEmpty(path))
+            if (this.LocationType != LocationType.FileSystem || string.IsNullOrEmpty(path))
             {
                 return new ItemResolveArgs(ConfigurationManager.ApplicationPaths)
                 {