mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
New: Split out metadata refresh from disk rescan
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user