Skip to content

Commit

Permalink
HUNO language
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Nov 19, 2024
1 parent 0dd5de9 commit 730fd44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trackers/HUNO.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get_audio(self, meta):
if dual:
language = "DUAL"
elif 'mediainfo' in meta:
language = next(x for x in meta["mediainfo"]["media"]["track"] if x["@type"] == "Audio").get('Language_String', "English")
language = next(x for x in meta["mediainfo"]["media"]["track"] if x["@type"] == "Audio").get('Language', "English")
language = re.sub(r'\(.+\)', '', language)
if language == "zxx":
language = "Silent"
Expand Down

0 comments on commit 730fd44

Please sign in to comment.