Don't overwrite existing backdrops

This commit is contained in:
Eric Reed 2013-05-21 12:13:38 -04:00
parent 8682ee30dd
commit 68914d9cd0

View File

@ -288,9 +288,7 @@ namespace MediaBrowser.Controller.Providers.Movies
{
var bdName = "backdrop" + (i == 0 ? "" : i.ToString(CultureInfo.InvariantCulture));
var hasLocalBackdrop = item.BackdropImagePaths.Count > i;
if (ConfigurationManager.Configuration.RefreshItemImages || !hasLocalBackdrop)
if (ConfigurationManager.Configuration.RefreshItemImages || !item.HasLocalImage(bdName))
{
var img = await MovieDbProvider.Current.GetMovieDbResponse(new HttpRequestOptions
{