mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
job structure cleanup.
This commit is contained in:
@@ -14,14 +14,14 @@
|
||||
|
||||
/// <summary>
|
||||
/// Episode has aired, but no episode
|
||||
/// files are avilable
|
||||
/// files are available
|
||||
/// Todo: We shouldn't set missing until the episode has past the actual airtime + runtime, including UtcOffset
|
||||
/// </summary>
|
||||
Missing,
|
||||
|
||||
/// <summary>
|
||||
/// Episode airs today, but no episode
|
||||
/// files are avilable
|
||||
/// files are available
|
||||
/// </summary>
|
||||
AirsToday,
|
||||
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace NzbDrone.Core.Model
|
||||
{
|
||||
public class JobQueueItem : IEquatable<JobQueueItem>
|
||||
{
|
||||
public Type JobType { get; set; }
|
||||
public dynamic Options { get; set; }
|
||||
|
||||
public JobSourceType Source { get; set; }
|
||||
|
||||
public bool Equals(JobQueueItem other)
|
||||
{
|
||||
return (JobType == other.JobType && Options == other.Options);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("[{0}({1})]", JobType.Name, Options);
|
||||
}
|
||||
|
||||
public enum JobSourceType
|
||||
{
|
||||
User,
|
||||
Scheduler
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user