Don't fetch tmdb images if already have them and refresh turned off

pull/702/head
Eric Reed 12 years ago
parent 4111343094
commit 21419f7bfa

@ -151,6 +151,13 @@ namespace MediaBrowser.Controller.Providers.Movies
{ {
return true; return true;
} }
// Don't refresh if we already have both poster and backdrop and we're not refreshing images
if (item.LocationType == LocationType.FileSystem && !ConfigurationManager.Configuration.RefreshItemImages
&& item.HasLocalImage("folder") && item.HasLocalImage("backdrop"))
{
return false;
}
return base.NeedsRefreshInternal(item, providerInfo); return base.NeedsRefreshInternal(item, providerInfo);
} }

Loading…
Cancel
Save