mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
44e6c46337
fixes #720
34 lines
650 B
C#
34 lines
650 B
C#
using NzbDrone.Core.Messaging.Commands;
|
|
|
|
namespace NzbDrone.Core.Tv.Commands
|
|
{
|
|
public class RefreshSeriesCommand : Command
|
|
{
|
|
public int? SeriesId { get; set; }
|
|
|
|
public RefreshSeriesCommand()
|
|
{
|
|
}
|
|
|
|
public RefreshSeriesCommand(int? seriesId)
|
|
{
|
|
SeriesId = seriesId;
|
|
}
|
|
|
|
public override bool SendUpdatesToClient
|
|
{
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
|
|
public override bool UpdateScheduledTask
|
|
{
|
|
get
|
|
{
|
|
return !SeriesId.HasValue;
|
|
}
|
|
}
|
|
}
|
|
} |