Update MediaBrowser.Providers/Manager/ItemImageProvider.cs

pull/8982/head
Bond-009 2 years ago committed by GitHub
parent d639d35baa
commit ebbd1b9db1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -313,7 +313,7 @@ namespace MediaBrowser.Providers.Manager
}
minWidth = savedOptions.GetMinWidth(ImageType.Backdrop);
var listWithNoLangFirst = list.Where(i => string.IsNullOrEmpty(i.Language)).Concat(list.Where(i => !string.IsNullOrEmpty(i.Language)));
var listWithNoLangFirst = list.OrderByDescending(i => string.IsNullOrEmpty(i.Language));
await DownloadMultiImages(item, ImageType.Backdrop, refreshOptions, backdropLimit, provider, result, listWithNoLangFirst, minWidth, cancellationToken).ConfigureAwait(false);
}
catch (OperationCanceledException)

Loading…
Cancel
Save