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/RefreshAlbumCommand.cs

27 lines
648 B

using NzbDrone.Core.Messaging.Commands;
namespace NzbDrone.Core.Music.Commands
{
public class RefreshAlbumCommand : Command
{
public int? AlbumId { get; set; }
public bool IsNewAlbum { get; set; }
public RefreshAlbumCommand()
{
}
public RefreshAlbumCommand(int? albumId, bool isNewAlbum = false)
{
AlbumId = albumId;
IsNewAlbum = isNewAlbum;
}
public override bool SendUpdatesToClient => true;
public override bool UpdateScheduledTask => !AlbumId.HasValue;
public override string CompletionMessage => "Completed";
}
}