mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Don't overwrite existing backdrops
This commit is contained in:
parent
8682ee30dd
commit
68914d9cd0
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue