mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-19 21:44:30 -04:00
Added CommandId to commands
This commit is contained in:
@@ -1,13 +1,22 @@
|
||||
using System;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Messaging;
|
||||
|
||||
namespace NzbDrone.Core.MediaFiles.Commands
|
||||
{
|
||||
public class CleanMediaFileDb : ICommand
|
||||
{
|
||||
public String CommandId { get; set; }
|
||||
public int SeriesId { get; private set; }
|
||||
|
||||
public CleanMediaFileDb()
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
}
|
||||
|
||||
public CleanMediaFileDb(int seriesId)
|
||||
{
|
||||
CommandId = HashUtil.GenerateCommandId();
|
||||
SeriesId = seriesId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user