diff options
| author | Eric Reed <ebr@mediabrowser3.com> | 2013-03-09 10:11:06 -0500 |
|---|---|---|
| committer | Eric Reed <ebr@mediabrowser3.com> | 2013-03-09 10:11:06 -0500 |
| commit | 13e6819dddfc34933acae9fadfcb9e174d96810b (patch) | |
| tree | 21fa2ed1125890a947ec2b235f3d39bced698521 | |
| parent | 38946150e769987b22dd0b491a70ad76cac0a3b3 (diff) | |
Check location type in CreateResolveArgs
| -rw-r--r-- | MediaBrowser.Controller/Entities/BaseItem.cs | 2 |
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) { |
