job structure cleanup.

This commit is contained in:
kay.one 2013-03-04 21:20:47 -08:00
commit eaf6f94c02
35 changed files with 47 additions and 19 deletions

View file

@ -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,

View file

@ -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
}
}
}