The Free Software Media System - Server Backend & API
Check location type in CreateResolveArgs
Eric Reed13e6819dddfc
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.csindex cc3ec5c2ae..a69b423acd 100644--- a/MediaBrowser.Controller/Entities/BaseItem.cs+++ b/MediaBrowser.Controller/Entities/BaseItem.cs@@ -313,7 +313,7 @@ namespace MediaBrowser.Controller.Entitiesvar 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){