Fix filtering images without dimensions
This commit is contained in:
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…
Reference in New Issue
Block a user