mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 08:45:23 +03:00
added new parent methods
This commit is contained in:
@@ -1621,17 +1621,17 @@ namespace MediaBrowser.Server.Implementations.Session
|
||||
|
||||
if (backropItem == null)
|
||||
{
|
||||
backropItem = item.Parents.FirstOrDefault(i => i.HasImage(ImageType.Backdrop));
|
||||
backropItem = item.GetParents().FirstOrDefault(i => i.HasImage(ImageType.Backdrop));
|
||||
}
|
||||
|
||||
if (thumbItem == null)
|
||||
{
|
||||
thumbItem = item.Parents.FirstOrDefault(i => i.HasImage(ImageType.Thumb));
|
||||
thumbItem = item.GetParents().FirstOrDefault(i => i.HasImage(ImageType.Thumb));
|
||||
}
|
||||
|
||||
if (logoItem == null)
|
||||
{
|
||||
logoItem = item.Parents.FirstOrDefault(i => i.HasImage(ImageType.Logo));
|
||||
logoItem = item.GetParents().FirstOrDefault(i => i.HasImage(ImageType.Logo));
|
||||
}
|
||||
|
||||
if (thumbItem != null)
|
||||
|
||||
Reference in New Issue
Block a user