소스 검색

feat(web): disable closed captions when transcription is disabled (#2092)

Aaron van Meerten 15 시간 전
부모
커밋
ed30d0d49c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      web/rootfs/defaults/settings-config.js

+ 1 - 0
web/rootfs/defaults/settings-config.js

@@ -358,6 +358,7 @@ config.enableTcc = false;
 // Transcriptions (subtitles and buttons can be configured in interface_config)
 config.transcription = {
     enabled: {{ $ENABLE_TRANSCRIPTIONS }},
+    disableClosedCaptions: {{ not $ENABLE_TRANSCRIPTIONS }},
     translationLanguages: {{ $TRANSLATION_LANGUAGES }},
     translationLanguagesHead: {{ $TRANSLATION_LANGUAGES_HEAD }},
     useAppLanguage: {{ $USE_APP_LANGUAGE }},