mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
rework settings page
This commit is contained in:
@@ -2071,14 +2071,17 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
|
||||
public List<PersonInfo> GetPeople(BaseItem item)
|
||||
{
|
||||
var people = GetPeople(new InternalPeopleQuery
|
||||
if (item.SupportsPeople)
|
||||
{
|
||||
ItemId = item.Id
|
||||
});
|
||||
var people = GetPeople(new InternalPeopleQuery
|
||||
{
|
||||
ItemId = item.Id
|
||||
});
|
||||
|
||||
if (people.Count > 0)
|
||||
{
|
||||
return people;
|
||||
if (people.Count > 0)
|
||||
{
|
||||
return people;
|
||||
}
|
||||
}
|
||||
|
||||
return item.People ?? new List<PersonInfo>();
|
||||
|
||||
Reference in New Issue
Block a user