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.
25 lines
582 B
25 lines
582 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;
|
|
}
|
|
}
|