mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-24 08:43:01 +00:00
Improvement to matching dropdowns in manual search UI.
This commit is contained in:
parent
e3b63d90de
commit
53958c62b8
1 changed files with 9 additions and 4 deletions
|
@ -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)
|
||||
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:
|
||||
matches.add('hearing_impaired')
|
||||
|
||||
score, score_without_hash = compute_score(matches, s, video, hearing_impaired=initial_hi)
|
||||
not_matched = scores - matches
|
||||
s.score = score
|
||||
else:
|
||||
not_matched.add('hearing_impaired')
|
||||
|
||||
releases = []
|
||||
if hasattr(s, 'release_info'):
|
||||
|
|
Loading…
Reference in a new issue