From b9c1f2de725cf7f64bad6fda9ad06e83c20f04ec Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 20 Apr 2025 20:49:28 +0600 Subject: [PATCH] web/settings/audio: add a toggle to prefer better audio quality from yt & also remove the beta label from youtube dub --- web/i18n/en/settings.json | 4 ++++ web/src/routes/settings/audio/+page.svelte | 13 ++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/web/i18n/en/settings.json b/web/i18n/en/settings.json index f43de837..ddf3cf66 100644 --- a/web/i18n/en/settings.json +++ b/web/i18n/en/settings.json @@ -63,6 +63,10 @@ "audio.youtube.dub.description": "cobalt will use a dubbed audio track for selected language if it's available. if not, original will be used instead.", "youtube.dub.original": "original", + "audio.youtube.better_audio": "youtube audio quality", + "audio.youtube.better_audio.title": "prefer better quality", + "audio.youtube.better_audio.description": "cobalt will try to pick highest quality audio in audio mode. it may not be available depending on youtube's response, current traffic, and server status. custom instances may not support this option.", + "audio.tiktok.original": "tiktok", "audio.tiktok.original.title": "download original sound", "audio.tiktok.original.description": "cobalt will download the sound from the video without any changes by the post's author.", diff --git a/web/src/routes/settings/audio/+page.svelte b/web/src/routes/settings/audio/+page.svelte index 5dfda46d..932cfc20 100644 --- a/web/src/routes/settings/audio/+page.svelte +++ b/web/src/routes/settings/audio/+page.svelte @@ -46,10 +46,21 @@ + + + +