mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-24 16:52:06 +00:00
HDBits provider: improve episode matching
This commit is contained in:
parent
bad77e2ce7
commit
3942264d00
1 changed files with 3 additions and 5 deletions
|
@ -124,11 +124,9 @@ class HDBitsProvider(Provider):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if episode is not None:
|
if episode is not None:
|
||||||
guessed = _memoized_episode_guess(subtitle["title"])
|
eps = _memoized_episode_guess(subtitle["title"]).get("episode")
|
||||||
if guessed.get("episode") is not None and episode != guessed["episode"]:
|
if eps is not None and episode not in eps:
|
||||||
logger.debug(
|
logger.debug("Not matched: %s != %s", subtitle["title"], episode)
|
||||||
"Episode not matched: %s != %s", subtitle["title"], episode
|
|
||||||
)
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
parsed = HDBitsSubtitle(
|
parsed = HDBitsSubtitle(
|
||||||
|
|
Loading…
Reference in a new issue