Skip to content

Commit

Permalink
HUNO - don't get caught at language in ua
Browse files Browse the repository at this point in the history
  • Loading branch information
Audionut committed Dec 13, 2024
1 parent bbf9c7b commit a277b99
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/trackers/HUNO.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,11 @@ def get_audio(self, meta):
if language == "zxx":
language = "Silent"
elif not language:
language = cli_ui.ask_string('No audio language present, you must enter one:')
if not language:
if not meta['unattended'] or (meta['unattended'] and meta.get('unattended-confirm', False)):
language = cli_ui.ask_string('No audio language present, you must enter one:')
if not language:
language = "Unknown"
else:
language = "Unknown"

return f'{codec} {channels} {language}'
Expand Down

0 comments on commit a277b99

Please sign in to comment.