2
0
Эх сурвалжийг харах

Check location type in CreateResolveArgs

Eric Reed 12 жил өмнө
parent
commit
13e6819ddd

+ 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)
                 {