mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
fixed last fm image provider downloading images over and over
This commit is contained in:
parent
62621bf97b
commit
efeaa59512
@ -74,7 +74,7 @@ namespace MediaBrowser.Providers.Music
|
|||||||
{
|
{
|
||||||
var url = GetImageUrl(item);
|
var url = GetImageUrl(item);
|
||||||
|
|
||||||
if (!string.IsNullOrWhiteSpace(url))
|
if (!string.IsNullOrWhiteSpace(url) && !item.HasImage(ImageType.Primary))
|
||||||
{
|
{
|
||||||
await _providerManager.SaveImage(item, url, LastfmBaseProvider.LastfmResourcePool, ImageType.Primary, null, cancellationToken)
|
await _providerManager.SaveImage(item, url, LastfmBaseProvider.LastfmResourcePool, ImageType.Primary, null, cancellationToken)
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user