parent
160151c6e0
commit
8c67a3bdee
@ -0,0 +1,9 @@
|
|||||||
|
namespace NzbDrone.Core.DecisionEngine;
|
||||||
|
|
||||||
|
public class DownloadRejection : Rejection<DownloadRejectionReason>
|
||||||
|
{
|
||||||
|
public DownloadRejection(DownloadRejectionReason reason, string message, RejectionType type = RejectionType.Permanent)
|
||||||
|
: base(reason, message, type)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,75 @@
|
|||||||
|
namespace NzbDrone.Core.DecisionEngine;
|
||||||
|
|
||||||
|
public enum DownloadRejectionReason
|
||||||
|
{
|
||||||
|
Unknown,
|
||||||
|
UnknownSeries,
|
||||||
|
UnknownEpisode,
|
||||||
|
MatchesAnotherSeries,
|
||||||
|
UnableToParse,
|
||||||
|
Error,
|
||||||
|
DecisionError,
|
||||||
|
MinimumAgeDelay,
|
||||||
|
SeriesNotMonitored,
|
||||||
|
EpisodeNotMonitored,
|
||||||
|
HistoryRecentCutoffMet,
|
||||||
|
HistoryCdhDisabledCutoffMet,
|
||||||
|
HistoryHigherPreference,
|
||||||
|
HistoryHigherRevision,
|
||||||
|
HistoryCutoffMet,
|
||||||
|
HistoryCustomFormatCutoffMet,
|
||||||
|
HistoryCustomFormatScore,
|
||||||
|
HistoryCustomFormatScoreIncrement,
|
||||||
|
NoMatchingTag,
|
||||||
|
PropersDisabled,
|
||||||
|
ProperForOldFile,
|
||||||
|
WrongEpisode,
|
||||||
|
WrongSeason,
|
||||||
|
WrongSeries,
|
||||||
|
FullSeason,
|
||||||
|
UnknownRuntime,
|
||||||
|
BelowMinimumSize,
|
||||||
|
AboveMaximumSize,
|
||||||
|
AlreadyImportedSameHash,
|
||||||
|
AlreadyImportedSameName,
|
||||||
|
UnknownReleaseGroup,
|
||||||
|
ReleaseGroupDoesNotMatch,
|
||||||
|
IndexerDisabled,
|
||||||
|
Blocklisted,
|
||||||
|
CustomFormatMinimumScore,
|
||||||
|
MinimumFreeSpace,
|
||||||
|
FullSeasonNotAired,
|
||||||
|
MaximumSizeExceeded,
|
||||||
|
MinimumAge,
|
||||||
|
MaximumAge,
|
||||||
|
MultiSeason,
|
||||||
|
Sample,
|
||||||
|
ProtocolDisabled,
|
||||||
|
QualityNotWanted,
|
||||||
|
QualityUpgradesDisabled,
|
||||||
|
QueueHigherPreference,
|
||||||
|
QueueHigherRevision,
|
||||||
|
QueueCutoffMet,
|
||||||
|
QueueCustomFormatCutoffMet,
|
||||||
|
QueueCustomFormatScore,
|
||||||
|
QueueCustomFormatScoreIncrement,
|
||||||
|
QueueNoUpgrades,
|
||||||
|
QueuePropersDisabled,
|
||||||
|
Raw,
|
||||||
|
MustContainMissing,
|
||||||
|
MustNotContainPresent,
|
||||||
|
RepackDisabled,
|
||||||
|
RepackUnknownReleaseGroup,
|
||||||
|
RepackReleaseGroupDoesNotMatch,
|
||||||
|
ExistingFileHasMoreEpisodes,
|
||||||
|
AmbiguousNumbering,
|
||||||
|
NotSeasonPack,
|
||||||
|
SplitEpisode,
|
||||||
|
MinimumSeeders,
|
||||||
|
DiskHigherPreference,
|
||||||
|
DiskHigherRevision,
|
||||||
|
DiskCutoffMet,
|
||||||
|
DiskCustomFormatCutoffMet,
|
||||||
|
DiskCustomFormatScore,
|
||||||
|
DiskCustomFormatScoreIncrement,
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
using NzbDrone.Core.DecisionEngine;
|
||||||
|
|
||||||
|
namespace NzbDrone.Core.MediaFiles.EpisodeImport;
|
||||||
|
|
||||||
|
public class ImportRejection : Rejection<ImportRejectionReason>
|
||||||
|
{
|
||||||
|
public ImportRejection(ImportRejectionReason reason, string message, RejectionType type = RejectionType.Permanent)
|
||||||
|
: base(reason, message, type)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,38 @@
|
|||||||
|
namespace NzbDrone.Core.MediaFiles.EpisodeImport;
|
||||||
|
|
||||||
|
public enum ImportRejectionReason
|
||||||
|
{
|
||||||
|
Unknown,
|
||||||
|
FileLocked,
|
||||||
|
UnknownSeries,
|
||||||
|
ExecutableFile,
|
||||||
|
ArchiveFile,
|
||||||
|
SeriesFolder,
|
||||||
|
InvalidFilePath,
|
||||||
|
UnsupportedExtension,
|
||||||
|
PartialSeason,
|
||||||
|
SeasonExtra,
|
||||||
|
InvalidSeasonOrEpisode,
|
||||||
|
UnableToParse,
|
||||||
|
Error,
|
||||||
|
DecisionError,
|
||||||
|
NoEpisodes,
|
||||||
|
MissingAbsoluteEpisodeNumber,
|
||||||
|
EpisodeAlreadyImported,
|
||||||
|
TitleMissing,
|
||||||
|
TitleTba,
|
||||||
|
MinimumFreeSpace,
|
||||||
|
FullSeason,
|
||||||
|
NoAudio,
|
||||||
|
EpisodeUnexpected,
|
||||||
|
EpisodeNotFoundInRelease,
|
||||||
|
Sample,
|
||||||
|
SampleIndeterminate,
|
||||||
|
Unpacking,
|
||||||
|
ExistingFileHasMoreEpisodes,
|
||||||
|
SplitEpisode,
|
||||||
|
UnverifiedSceneMapping,
|
||||||
|
NotQualityUpgrade,
|
||||||
|
NotRevisionUpgrade,
|
||||||
|
NotCustomFormatUpgrade
|
||||||
|
}
|
Loading…
Reference in new issue