Skip to content

Commit

Permalink
Remove unneeded call
Browse files Browse the repository at this point in the history
Should fix #52
  • Loading branch information
Audionut committed Sep 24, 2024
1 parent 01fba6e commit 9102057
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trackers/AITHER.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ def get_audio_lang(tracks=None, is_bdmv=False, media_info_text=None):

if meta['is_disc'] == "BDMV":
bdinfo_audio = meta.get('bdinfo', {}).get('audio', [])
has_eng_audio = has_english_audio(bdinfo_audio, is_bdmv=True)
has_eng_audio = has_english_audio(bdinfo_audio)
if not has_eng_audio:
audio_lang = get_audio_lang(bdinfo_audio, is_bdmv=True)
audio_lang = get_audio_lang(bdinfo_audio)
if audio_lang:
aither_name = aither_name.replace(meta['resolution'], f"{audio_lang} {meta['resolution']}", 1)
else:
Expand Down

0 comments on commit 9102057

Please sign in to comment.