mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Added CommandId to commands
This commit is contained in:
parent
e4d7ea9fd8
commit
a3961ffb69
27 changed files with 218 additions and 46 deletions
|
@ -1,3 +1,5 @@
|
|||
using System;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.MediaFiles.Commands
|
||||
|
@ -7,8 +9,16 @@ namespace NzbDrone.Core.MediaFiles.Commands
|
|||
public int SeriesId { get; private set; }
|
||||
public int SeasonNumber { get; private set; }
|
||||
|
||||
public String CommandId { get; set; }
|
||||
|
||||
public RenameSeasonCommand()
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
}
|
||||
|
||||
public RenameSeasonCommand(int seriesId, int seasonNumber)
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
SeriesId = seriesId;
|
||||
SeasonNumber = seasonNumber;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue