mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00:00
Testing season pack fix for BTN
This commit is contained in:
parent
a5794a5347
commit
b5890b2af7
2 changed files with 6 additions and 7 deletions
|
@ -294,13 +294,12 @@ def filterSearchResults(show, results):
|
||||||
foundResults = {}
|
foundResults = {}
|
||||||
|
|
||||||
# make a list of all the results for this provider
|
# make a list of all the results for this provider
|
||||||
for curEp in results.keys():
|
for curEp in results:
|
||||||
# skip non-tv crap
|
# skip non-tv crap
|
||||||
results[curEp] = filter(
|
results[curEp] = filter(
|
||||||
lambda x: show_name_helpers.filterBadReleases(x.name) and show_name_helpers.isGoodResult(x.name, show),
|
lambda x: show_name_helpers.filterBadReleases(x.name) and show_name_helpers.isGoodResult(x.name, show),
|
||||||
results[curEp])
|
results[curEp])
|
||||||
|
|
||||||
if len(results[curEp]):
|
|
||||||
if curEp in foundResults:
|
if curEp in foundResults:
|
||||||
foundResults[curEp] += results[curEp]
|
foundResults[curEp] += results[curEp]
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -133,7 +133,7 @@ class BacklogQueueItem(generic_queue.QueueItem):
|
||||||
generic_queue.QueueItem.__init__(self, 'Backlog', BACKLOG_SEARCH)
|
generic_queue.QueueItem.__init__(self, 'Backlog', BACKLOG_SEARCH)
|
||||||
self.priority = generic_queue.QueuePriorities.LOW
|
self.priority = generic_queue.QueuePriorities.LOW
|
||||||
self.thread_name = 'BACKLOG-' + str(show.indexerid) + '-'
|
self.thread_name = 'BACKLOG-' + str(show.indexerid) + '-'
|
||||||
|
self.success = None
|
||||||
self.show = show
|
self.show = show
|
||||||
self.segment = segment
|
self.segment = segment
|
||||||
self.wantedEpisodes = []
|
self.wantedEpisodes = []
|
||||||
|
|
Loading…
Reference in a new issue