mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Added two new Episode Statuses - Unpacking and Failed.
Tests added to support new Statuses. PostDownloadScanJob will update PostDownloadStatus for failed or unpacking. ImportFile will set the PostDownloadStatus to Processed when added to the database.
This commit is contained in:
parent
c534d47b0a
commit
5098ea3249
15 changed files with 234 additions and 10 deletions
|
@ -5,7 +5,7 @@
|
|||
/// <summary>
|
||||
/// Episode has not aired yet
|
||||
/// </summary>
|
||||
NotAired ,
|
||||
NotAired,
|
||||
|
||||
/// <summary>
|
||||
/// Episode is ignored
|
||||
|
@ -16,12 +16,22 @@
|
|||
/// Episode has aired but no episode
|
||||
/// files have avilable
|
||||
/// </summary>
|
||||
Missing ,
|
||||
Missing,
|
||||
|
||||
/// <summary>
|
||||
/// Episode is being downloaded
|
||||
/// </summary>
|
||||
Downloading ,
|
||||
Downloading,
|
||||
|
||||
/// <summary>
|
||||
/// Episode has been downloaded and is unpacking (_UNPACK_)
|
||||
/// </summary>
|
||||
Unpacking,
|
||||
|
||||
/// <summary>
|
||||
/// Episode has failed to download properly (_FAILED_)
|
||||
/// </summary>
|
||||
Failed,
|
||||
|
||||
/// <summary>
|
||||
/// Episode is present in disk
|
||||
|
|
25
NzbDrone.Core/Model/PostDownloadStatusType.cs
Normal file
25
NzbDrone.Core/Model/PostDownloadStatusType.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
namespace NzbDrone.Core.Model
|
||||
{
|
||||
public enum PostDownloadStatusType
|
||||
{
|
||||
/// <summary>
|
||||
/// Unknown (Default)
|
||||
/// </summary>
|
||||
Unknown = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Unpacking
|
||||
/// </summary>
|
||||
Unpacking = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Failed
|
||||
/// </summary>
|
||||
Failed = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Processed
|
||||
/// </summary>
|
||||
Processed = 3
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue