From a277b99781a8fbc4c10d178d53e819d175ad0539 Mon Sep 17 00:00:00 2001 From: Audionut Date: Fri, 13 Dec 2024 19:15:05 +1000 Subject: [PATCH] HUNO - don't get caught at language in ua --- src/trackers/HUNO.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/trackers/HUNO.py b/src/trackers/HUNO.py index e4146a381..a5b9702ef 100644 --- a/src/trackers/HUNO.py +++ b/src/trackers/HUNO.py @@ -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}'