You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/src/NzbDrone.Core/Music/Commands/RefreshArtistCommand.cs

25 lines
594 B

using NzbDrone.Core.Messaging.Commands;
namespace NzbDrone.Core.Music.Commands
{
public class RefreshArtistCommand : Command
{
public int? ArtistId { get; set; }
public bool IsNewArtist { get; set; }
public RefreshArtistCommand()
{
}
public RefreshArtistCommand(int? artistId, bool isNewArtist = false)
{
ArtistId = artistId;
IsNewArtist = isNewArtist;
}
public override bool SendUpdatesToClient => true;
public override bool UpdateScheduledTask => !ArtistId.HasValue;
}
}