Added additional priorities supported by SABnzbd.

From shypike:This is the (kind of weird) priority table:

TOP_PRIORITY = 2
HIGH_PRIORITY = 1
NORMAL_PRIORITY = 0
LOW_PRIORITY = -1
DEFAULT_PRIORITY = -100
PAUSED_PRIORITY = -2

-100 won't do a thing, since it means: whatever is default.
This commit is contained in:
markus101 2011-02-11 00:12:44 -08:00
parent 3a9f053a17
commit e7cbc4cbcf
2 changed files with 5 additions and 2 deletions

View File

@ -2,8 +2,11 @@
{ {
public enum SabnzbdPriorityType public enum SabnzbdPriorityType
{ {
Default = -100,
Paused = -2,
Low = -1, Low = -1,
Normal = 0, Normal = 0,
High = 1 High = 1,
Top = 2
} }
} }

View File

@ -96,6 +96,6 @@ namespace NzbDrone.Web.Models
set; set;
} }
public SelectList PrioritySelectList = new SelectList(new string[] { "Low", "Normal", "High" }); public SelectList PrioritySelectList = new SelectList(new string[] { "Default", "Paused", "Low", "Normal", "High", "Top" });
} }
} }