mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-23 22:27:17 -04:00
Fixed error when manual search return an invalid subtitles. #2102
This commit is contained in:
parent
9bd2ab514e
commit
9fb793a488
1 changed files with 6 additions and 2 deletions
|
@ -83,8 +83,12 @@ def manual_search(path, profile_id, providers, sceneName, title, media_type):
|
|||
can_verify_series = False
|
||||
|
||||
if can_verify_series and not {"series", "season", "episode"}.issubset(matches):
|
||||
logging.debug(f"BAZARR Skipping {s}, because it doesn't match our series/episode")
|
||||
continue
|
||||
try:
|
||||
logging.debug(f"BAZARR Skipping {s}, because it doesn't match our series/episode")
|
||||
except TypeError:
|
||||
logging.debug("BAZARR Ignoring invalid subtitles")
|
||||
finally:
|
||||
continue
|
||||
|
||||
initial_hi = None
|
||||
initial_hi_match = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue