aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2013-03-09 10:11:06 -0500
committerEric Reed <ebr@mediabrowser3.com>2013-03-09 10:11:06 -0500
commit13e6819dddfc34933acae9fadfcb9e174d96810b (patch)
tree21fa2ed1125890a947ec2b235f3d39bced698521
parent38946150e769987b22dd0b491a70ad76cac0a3b3 (diff)
Check location type in CreateResolveArgs
-rw-r--r--MediaBrowser.Controller/Entities/BaseItem.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs
index cc3ec5c2a..a69b423ac 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)
{