From 68914d9cd02903f43a6109850f4995cb5da797b7 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Tue, 21 May 2013 12:13:38 -0400 Subject: [PATCH] Don't overwrite existing backdrops --- .../Providers/Movies/MovieDbImagesProvider.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MediaBrowser.Controller/Providers/Movies/MovieDbImagesProvider.cs b/MediaBrowser.Controller/Providers/Movies/MovieDbImagesProvider.cs index 4fdc2a17f2..e64b4c2c66 100644 --- a/MediaBrowser.Controller/Providers/Movies/MovieDbImagesProvider.cs +++ b/MediaBrowser.Controller/Providers/Movies/MovieDbImagesProvider.cs @@ -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 {