mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
added new parent methods
This commit is contained in:
parent
db8e51edb6
commit
cc19ce0daf
48 changed files with 189 additions and 143 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue