Make identify flag describe purpose, not source

This commit is contained in:
Joe Rogers
2022-01-08 14:03:59 +01:00
parent b17fe35e2e
commit b43f46d5c9
4 changed files with 6 additions and 8 deletions

View File

@@ -28,9 +28,9 @@ namespace MediaBrowser.Controller.Providers
public bool IsAutomated { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the action is an identify.
/// Gets or sets a value indicating whether old metadata should be removed if it isn't be replaced.
/// </summary>
public bool IsIdentify { get; set; }
public bool RemoveOldMetadata { get; set; }
public bool IsReplacingImage(ImageType type)
{

View File

@@ -30,7 +30,7 @@ namespace MediaBrowser.Controller.Providers
ReplaceAllImages = copy.ReplaceAllImages;
ReplaceImages = copy.ReplaceImages;
SearchResult = copy.SearchResult;
IsIdentify = copy.IsIdentify;
RemoveOldMetadata = copy.RemoveOldMetadata;
if (copy.RefreshPaths != null && copy.RefreshPaths.Length > 0)
{