diff --git a/libs/subliminal_patch/core.py b/libs/subliminal_patch/core.py index 2746522ff..397effcfe 100644 --- a/libs/subliminal_patch/core.py +++ b/libs/subliminal_patch/core.py @@ -605,6 +605,11 @@ def _search_external_subtitles(path, languages=None, only_one=False, scandir_gen if not INCLUDE_EXOTIC_SUBS and p_ext not in (".srt", ".ass", ".ssa", ".vtt"): continue + if p_root.lower() == fn_no_ext_lower: + # skip check for language code is the subtitle file name is the same as the video name + subtitles[p] = None + continue + # extract potential forced/normal/default tag # fixme: duplicate from subtitlehelpers split_tag = p_root.rsplit('.', 1)