Send merged quality dict
This commit is contained in:
1 parent
672cfcf1cc
commit
9b2190b40d
1 file changed
+2
-1
@@ -66,7 +66,8 @@ class Searcher(Plugin):
|
|||||||
if has_better_quality is 0:
|
if has_better_quality is 0:
|
||||||
|
|
||||||
log.info('Search for %s in %s' % (default_title, type['quality']['label']))
|
log.info('Search for %s in %s' % (default_title, type['quality']['label']))
|
||||||
results = fireEvent('yarr.search', movie, type['quality'], merge = True)
|
quality = fireEvent('quality.single', identifier = type['quality']['identifier'], single = True)
|
||||||
|
results = fireEvent('yarr.search', movie, quality, merge = True)
|
||||||
sorted_results = sorted(results, key = lambda k: k['score'], reverse = True)
|
sorted_results = sorted(results, key = lambda k: k['score'], reverse = True)
|
||||||
|
|
||||||
# Add them to this movie releases list
|
# Add them to this movie releases list
|
||||||
|
|||||||
Reference in new issue
Block a user