Files
playlet-piped/playlet-lib/src/components
Hector Oswaldo Caballeroandclaude Bot 81ee5b3262 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>
2026-05-22 17:58:53 -04:00
..
2024-07-04 11:16:09 -04:00
2025-10-26 12:35:49 -04:00
2025-06-09 16:19:47 -04:00
2025-09-19 08:55:24 -04:00
2024-12-30 09:53:40 -05:00
2025-10-26 13:01:09 -04:00
2025-06-22 17:39:58 -04:00
2025-09-19 08:55:24 -04:00
2025-08-18 14:40:23 -04:00
2025-08-29 15:22:57 -04:00