Check location type in CreateResolveArgs
This commit is contained in:
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…
Reference in New Issue
Block a user