From 13e6819dddfc34933acae9fadfcb9e174d96810b Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Sat, 9 Mar 2013 10:11:06 -0500 Subject: [PATCH] Check location type in CreateResolveArgs --- MediaBrowser.Controller/Entities/BaseItem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index cc3ec5c2ae..a69b423acd 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/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) {