mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-13 18:16:52 -07:00
Pymedusa (#1815)
* Add wait_for as a valid option for pyMedusa * Add docs. * doc * wrong section
This commit is contained in:
parent
c2eaa72a2c
commit
06d91c6928
3 changed files with 4 additions and 2 deletions
|
@ -183,6 +183,8 @@
|
|||
watch_dir =
|
||||
##### Set the recursive directory permissions to the following (0 to disable)
|
||||
chmodDirectory = 0
|
||||
##### pyMedusa (fork=medusa-apiv2) uses async postprocessing. Wait a maximum of x minutes for a pp result
|
||||
wait_for = 10
|
||||
|
||||
[SiCKRAGE]
|
||||
#### autoProcessing for TV Series
|
||||
|
|
|
@ -120,7 +120,7 @@ class PyMedusaApiV2(SickBeard):
|
|||
|
||||
queueitem_identifier = jdata['queueItem']['identifier']
|
||||
|
||||
wait_for = self.sb_init.config.get('wait_for', 2)
|
||||
wait_for = int(self.sb_init.config.get('wait_for', 2))
|
||||
n = 0
|
||||
response = {}
|
||||
url = '{0}/{1}'.format(url, queueitem_identifier)
|
||||
|
|
|
@ -178,7 +178,7 @@ class ConfigObj(configobj.ConfigObj, Section):
|
|||
if section in ['CouchPotato', 'HeadPhones', 'Gamez', 'Mylar']:
|
||||
if option in ['username', 'password']:
|
||||
values.pop(option)
|
||||
if section in ['SickBeard', 'Mylar']:
|
||||
if section in ['Mylar']:
|
||||
if option == 'wait_for': # remove old format
|
||||
values.pop(option)
|
||||
if section in ['SickBeard', 'NzbDrone']:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue