Added priority setting for SABnzbd

Includes ability to add nzb to queue paused.
This commit is contained in:
Garret
2013-07-06 10:28:32 -07:00
parent 1c3e6ba930
commit 989d6c55c4
2 changed files with 10 additions and 0 deletions
@@ -34,6 +34,15 @@ config = [{
'label': 'Category',
'description': 'The category CP places the nzb in. Like <strong>movies</strong> or <strong>couchpotato</strong>',
},
{
'name': 'priority',
'label': 'Priority',
'type': 'dropdown',
'default': '0',
'advanced': True,
'values': [('Paused', -2), ('Low', -1), ('Normal', 0), ('High', 1), ('Forced', 2)],
'description': 'Priority in the SABnzbd queue. Option to add paused.',
},
{
'name': 'manual',
'default': False,
@@ -22,6 +22,7 @@ class Sabnzbd(Downloader):
'cat': self.conf('category'),
'mode': 'addurl',
'nzbname': self.createNzbName(data, movie),
'priority': self.conf('priority'),
}
if filedata: