mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-01 16:02:29 +00:00
Check location type in CreateResolveArgs
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user