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.
pull/7/merge
markus101 14 years ago
parent 3a9f053a17
commit e7cbc4cbcf

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

@ -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" });
} }
} }
Loading…
Cancel
Save