1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-27 10:07:10 +00:00

New: "Force" priority for NZBGet

The force priority allows NZBs to be downloaded even if the general queue is in a paused state. The use case here is setting recently released items to be downloaded even if the queue is paused. This is a quite common pattern on ISPs that have download quotas (e.g.: most in Australia) where downloading huge archives may need to be paced but shows being currently aired should be fetched for viewing as soon as they are available.

The existence of this priority is buried in their API docs[1] and in forum posts[2] but has been supported for a while (as of r1000). On older clients, the NZBGet UI will just show "Priority: 900" instead of the friendly label. They will be prioritised above other items in the queue but won't bypass the paused state. In other words, NZBGet models priorities as numeric values so this is compatible with old versions and new versions will treat this value specially when encountered.

[1]: http://nzbget.net/RPC_API_reference#Method_.22append.22
[2]: http://nzbget.net/forum/viewtopic.php?f=3&t=1177
This commit is contained in:
Bo Jeanes 2015-03-12 12:54:58 +11:00
parent dc2c1f7928
commit 174d1fb0cc

View file

@ -6,6 +6,7 @@ public enum NzbgetPriority
Low = -50, Low = -50,
Normal = 0, Normal = 0,
High = 50, High = 50,
VeryHigh = 100 VeryHigh = 100,
Force = 900
} }
} }