mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
commit
992fd591a7
1 changed files with 5 additions and 0 deletions
|
@ -272,6 +272,11 @@ namespace MediaBrowser.Server.Implementations.Library
|
|||
.ToArray();
|
||||
}
|
||||
|
||||
if (parentIds.Length == 0)
|
||||
{
|
||||
return new List<BaseItem>();
|
||||
}
|
||||
|
||||
var excludeItemTypes = includeItemTypes.Length == 0 ? new[]
|
||||
{
|
||||
typeof(Person).Name, typeof(Studio).Name, typeof(Year).Name, typeof(GameGenre).Name, typeof(MusicGenre).Name, typeof(Genre).Name
|
||||
|
|
Loading…
Reference in a new issue