mirror of https://github.com/morpheus65535/bazarr
Improvement to matching dropdowns in manual search UI.
This commit is contained in:
parent
e3b63d90de
commit
53958c62b8
|
@ -390,12 +390,17 @@ def manual_search(path, language, hi, forced, providers, providers_auth, sceneNa
|
||||||
logging.debug(u"BAZARR Skipping %s, because it doesn't match our series/episode", s)
|
logging.debug(u"BAZARR Skipping %s, because it doesn't match our series/episode", s)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
score, score_without_hash = compute_score(matches, s, video, hearing_impaired=initial_hi)
|
||||||
|
if 'hash' not in matches:
|
||||||
|
not_matched = scores - matches
|
||||||
|
else:
|
||||||
|
not_matched = set()
|
||||||
|
s.score = score
|
||||||
|
|
||||||
if s.hearing_impaired == initial_hi:
|
if s.hearing_impaired == initial_hi:
|
||||||
matches.add('hearing_impaired')
|
matches.add('hearing_impaired')
|
||||||
|
else:
|
||||||
score, score_without_hash = compute_score(matches, s, video, hearing_impaired=initial_hi)
|
not_matched.add('hearing_impaired')
|
||||||
not_matched = scores - matches
|
|
||||||
s.score = score
|
|
||||||
|
|
||||||
releases = []
|
releases = []
|
||||||
if hasattr(s, 'release_info'):
|
if hasattr(s, 'release_info'):
|
||||||
|
|
Loading…
Reference in New Issue