mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
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;
|
||||
|
||||
// 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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user