Testing season pack fix for BTN

This commit is contained in:
echel0n 2014-05-12 10:49:59 -07:00
parent a5794a5347
commit b5890b2af7
2 changed files with 6 additions and 7 deletions

View file

@ -294,17 +294,16 @@ def filterSearchResults(show, results):
foundResults = {}
# make a list of all the results for this provider
for curEp in results.keys():
for curEp in results:
# skip non-tv crap
results[curEp] = filter(
lambda x: show_name_helpers.filterBadReleases(x.name) and show_name_helpers.isGoodResult(x.name, show),
results[curEp])
if len(results[curEp]):
if curEp in foundResults:
foundResults[curEp] += results[curEp]
else:
foundResults[curEp] = results[curEp]
if curEp in foundResults:
foundResults[curEp] += results[curEp]
else:
foundResults[curEp] = results[curEp]
return foundResults

View file

@ -133,7 +133,7 @@ class BacklogQueueItem(generic_queue.QueueItem):
generic_queue.QueueItem.__init__(self, 'Backlog', BACKLOG_SEARCH)
self.priority = generic_queue.QueuePriorities.LOW
self.thread_name = 'BACKLOG-' + str(show.indexerid) + '-'
self.success = None
self.show = show
self.segment = segment
self.wantedEpisodes = []