Fix filtering images without dimensions

pull/6830/head
Cody Robibero 3 years ago
parent 7b1314aff5
commit 14c072dd32

@ -457,7 +457,7 @@ namespace MediaBrowser.Providers.Manager
CancellationToken cancellationToken)
{
var eligibleImages = images
.Where(i => i.Type == type && i.Width >= minWidth)
.Where(i => i.Type == type && (i.Width == null || i.Width >= minWidth))
.ToList();
if (EnableImageStub(item) && eligibleImages.Count > 0)

Loading…
Cancel
Save