mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Don't fetch tmdb images if already have them and refresh turned off
This commit is contained in:
parent
4111343094
commit
21419f7bfa
@ -152,6 +152,13 @@ namespace MediaBrowser.Controller.Providers.Movies
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user