mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Don't overwrite existing backdrops
This commit is contained in:
parent
8682ee30dd
commit
68914d9cd0
@ -288,9 +288,7 @@ namespace MediaBrowser.Controller.Providers.Movies
|
|||||||
{
|
{
|
||||||
var bdName = "backdrop" + (i == 0 ? "" : i.ToString(CultureInfo.InvariantCulture));
|
var bdName = "backdrop" + (i == 0 ? "" : i.ToString(CultureInfo.InvariantCulture));
|
||||||
|
|
||||||
var hasLocalBackdrop = item.BackdropImagePaths.Count > i;
|
if (ConfigurationManager.Configuration.RefreshItemImages || !item.HasLocalImage(bdName))
|
||||||
|
|
||||||
if (ConfigurationManager.Configuration.RefreshItemImages || !hasLocalBackdrop)
|
|
||||||
{
|
{
|
||||||
var img = await MovieDbProvider.Current.GetMovieDbResponse(new HttpRequestOptions
|
var img = await MovieDbProvider.Current.GetMovieDbResponse(new HttpRequestOptions
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user