Check location type in CreateResolveArgs

This commit is contained in:
Eric Reed 2013-03-09 10:11:06 -05:00
parent 38946150e7
commit 13e6819ddd

View File

@ -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)
{