mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 15:03:06 +03:00
added new parent methods
This commit is contained in:
@@ -341,7 +341,7 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
|
||||
if (primaryImage == null)
|
||||
{
|
||||
var parentWithImage = item.Parents.FirstOrDefault(i => i.HasImage(ImageType.Primary));
|
||||
var parentWithImage = item.GetParents().FirstOrDefault(i => i.HasImage(ImageType.Primary));
|
||||
|
||||
if (parentWithImage != null)
|
||||
{
|
||||
@@ -380,7 +380,7 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
|
||||
if (primaryImage == null)
|
||||
{
|
||||
var parentWithImage = item.Parents.FirstOrDefault(i => i.HasImage(ImageType.Primary));
|
||||
var parentWithImage = item.GetParents().FirstOrDefault(i => i.HasImage(ImageType.Primary));
|
||||
|
||||
if (parentWithImage != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user