Check location type in CreateResolveArgs

pull/702/head
Eric Reed 12 years ago
parent 38946150e7
commit 13e6819ddd

@ -313,7 +313,7 @@ namespace MediaBrowser.Controller.Entities
var path = Path; var path = Path;
// non file-system entries will not have a 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) return new ItemResolveArgs(ConfigurationManager.ApplicationPaths)
{ {

Loading…
Cancel
Save