using System.Collections.Generic; using NzbDrone.Core.Messaging.Commands; namespace NzbDrone.Core.MediaFiles.Commands { public class RescanFoldersCommand : Command { public RescanFoldersCommand() { // These are the settings used in the scheduled task Filter = FilterFilesType.Known; AddNewArtists = true; } public RescanFoldersCommand(List folders, FilterFilesType filter, bool addNewArtists, List artistIds) { Folders = folders; Filter = filter; AddNewArtists = addNewArtists; ArtistIds = artistIds; } public List Folders { get; set; } public FilterFilesType Filter { get; set; } public bool AddNewArtists { get; set; } public List ArtistIds { get; set; } public override bool SendUpdatesToClient => true; public override bool RequiresDiskAccess => true; public override bool IsLongRunning => true; } }