update dlna images

This commit is contained in:
Luke Pulverenti 2016-04-05 15:34:09 -04:00
parent 1071a5a5f3
commit 6844b2a457

View File

@ -978,9 +978,12 @@ namespace MediaBrowser.Dlna.Didl
item = item.GetParents().FirstOrDefault(i => i.HasImage(ImageType.Primary)); item = item.GetParents().FirstOrDefault(i => i.HasImage(ImageType.Primary));
if (item != null) if (item != null)
{
if (item.HasImage(ImageType.Primary))
{ {
return GetImageInfo(item, ImageType.Primary); return GetImageInfo(item, ImageType.Primary);
} }
}
return null; return null;
} }