subliminal_patch.core: don't assume hints["title"] exists

pull/292/head
panni 6 years ago
parent edfd75c848
commit 4c7c7a692b

@ -514,6 +514,7 @@ def scan_video(path, dont_use_actual_file=False, hints=None, providers=None, ski
# guess
hints["single_value"] = True
if "title" in hints:
hints["expected_title"] = [hints["title"]]
guessed_result = guessit(guess_from, options=hints)

Loading…
Cancel
Save