mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #6830 from crobibero/remote-image
Fix filtering images without dimensions
This commit is contained in:
commit
8579c8f9ce
@ -457,7 +457,7 @@ namespace MediaBrowser.Providers.Manager
|
|||||||
CancellationToken cancellationToken)
|
CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
var eligibleImages = images
|
var eligibleImages = images
|
||||||
.Where(i => i.Type == type && i.Width >= minWidth)
|
.Where(i => i.Type == type && (i.Width == null || i.Width >= minWidth))
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
if (EnableImageStub(item) && eligibleImages.Count > 0)
|
if (EnableImageStub(item) && eligibleImages.Count > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user