Use failed status to ignore releases too
This commit is contained in:
1 parent
c1beb85ba5
commit
4977b31ba6
1 file changed
+2
-3
@@ -240,7 +240,7 @@ class Searcher(Plugin):
|
|||||||
log.info('Ignored, waiting %s days: %s', (quality_type.get('wait_for'), nzb['name']))
|
log.info('Ignored, waiting %s days: %s', (quality_type.get('wait_for'), nzb['name']))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if nzb['status_id'] == ignored_status.get('id'):
|
if nzb['status_id'] in [ignored_status.get('id'), failed_status.get('id')]:
|
||||||
log.info('Ignored: %s', nzb['name'])
|
log.info('Ignored: %s', nzb['name'])
|
||||||
continue
|
continue
|
||||||
|
|
||||||
@@ -599,8 +599,7 @@ class Searcher(Plugin):
|
|||||||
|
|
||||||
def tryNextRelease(self, movie_id, manual = False):
|
def tryNextRelease(self, movie_id, manual = False):
|
||||||
|
|
||||||
snatched_status = fireEvent('status.get', 'snatched', single = True)
|
snatched_status, ignored_status = fireEvent('status.get', ['snatched', 'ignored'], single = True)
|
||||||
ignored_status = fireEvent('status.get', 'ignored', single = True)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
db = get_session()
|
db = get_session()
|
||||||
|
|||||||
Reference in new issue
Block a user