New: Split out metadata refresh from disk rescan

This commit is contained in:
ta264
2020-02-27 21:27:06 +00:00
parent cf15359b89
commit a70e7e4778
7 changed files with 23 additions and 23 deletions
@@ -7,17 +7,22 @@ namespace NzbDrone.Core.MediaFiles.Commands
{
public RescanFoldersCommand()
{
// These are the settings used in the scheduled task
Filter = FilterFilesType.Known;
AddNewArtists = true;
}
public RescanFoldersCommand(List<string> folders, FilterFilesType filter, List<int> artistIds)
public RescanFoldersCommand(List<string> folders, FilterFilesType filter, bool addNewArtists, List<int> artistIds)
{
Folders = folders;
Filter = filter;
AddNewArtists = addNewArtists;
ArtistIds = artistIds;
}
public List<string> Folders { get; set; }
public FilterFilesType Filter { get; set; }
public bool AddNewArtists { get; set; }
public List<int> ArtistIds { get; set; }
public override bool SendUpdatesToClient => true;