Add preference to disable auto-dubbed audio tracks (#714) (#869)

YouTube has been rolling out AI-generated dubbed audio tracks on videos.
Roku's player automatically selects the dubbed track matching the device
language, overriding the original audio — and the app provides no way to
switch back. The only workaround is a cumbersome device-level setting.

This adds a "Disable auto-dubbed audio" boolean preference under
Playback settings. When enabled, auto-dubbed audio groups (identified
by the existing isAutoDubbed flag from xtags parsing) are excluded from
the locally-generated DASH manifest, so only the original audio track
is available for playback.

A softer approach — keeping dubbed tracks available but defaulting to
the original — was also investigated. Both DASH `selectionPriority`
attributes and AdaptationSet reordering were tested on a Hisense 65R6107
Roku TV, but Roku's player ignores both and always selects the track
matching the device language. Removing the tracks from the manifest is
the only reliable approach.

Tested on a Hisense 65R6107 (Roku OS). With the preference enabled,
auto-dubbed tracks are no longer listed and the original audio plays
by default. With the preference disabled (default), behavior is
unchanged.

Scope: DASH (local) path only. HLS and DRM DASH paths are not yet
covered and will be addressed in follow-up work.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hector Oswaldo Caballeroandclaude Bot authored and GitHub committed 2026-05-22 17:58:53 -04:00
1 parent 338ad6f82c
commit 81ee5b3262
5 files changed
+26 -1

No files matched your search

+3
View File
@@ -253,6 +253,9 @@ namespace Locale
PreferredQualityDescription = "Preferred video quality"
AutoQuality = "Auto"
DisableAutoDubbedAudio = "Disable auto-dubbed audio"
DisableAutoDubbedAudioDescription = "Remove AI-generated dubbed audio tracks."
Backend = "Backend"
BackendPreferences = "Backend preferences"
SelectedBackend = "Selected backend"