fixed last fm image provider downloading images over and over

This commit is contained in:
Luke Pulverenti 2013-10-16 16:49:44 -04:00
parent 62621bf97b
commit efeaa59512
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ namespace MediaBrowser.Providers.Music
{
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)
.ConfigureAwait(false);