Added a check for the ReplaceAllImages value before updating an images

This commit is contained in:
axl 2023-11-28 02:10:54 +05:00
parent 099632f37e
commit 1f584a644b

View file

@ -60,6 +60,11 @@ namespace Emby.Server.Implementations.Images
return ItemUpdateType.None;
}
if (!options.ReplaceAllImages)
{
return ItemUpdateType.None;
}
var updateType = ItemUpdateType.None;
if (SupportedImages.Contains(ImageType.Primary))