1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-25 01:11:43 +00:00

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
{
Default = -100,
Paused = -2,
Low = -1,
Normal = 0,
High = 1
High = 1,
Top = 2
}
}

View file

@ -96,6 +96,6 @@ public SabnzbdPriorityType SabPriority
set;
}
public SelectList PrioritySelectList = new SelectList(new string[] { "Low", "Normal", "High" });
public SelectList PrioritySelectList = new SelectList(new string[] { "Default", "Paused", "Low", "Normal", "High", "Top" });
}
}