mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
fix ExcludeLocationTypes
This commit is contained in:
parent
d4870e788a
commit
dfafa98da3
1 changed files with 5 additions and 0 deletions
|
@ -1199,6 +1199,11 @@ namespace MediaBrowser.Controller.Entities
|
|||
return false;
|
||||
}
|
||||
|
||||
if (query.ExcludeLocationTypes.Length > 0 && query.ExcludeLocationTypes.Contains(item.LocationType))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (query.IsFolder.HasValue && query.IsFolder.Value != item.IsFolder)
|
||||
{
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue