Merge pull request #6830 from crobibero/remote-image

Fix filtering images without dimensions
pull/6837/head
Claus Vium 3 years ago committed by GitHub
commit 8579c8f9ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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