From d1b15a9dde2ecfbb7923884501c3bb093544447b Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Sun, 11 Jan 2026 10:16:10 +0100 Subject: [PATCH] feat(settings): add toggle to disable auto-play next episode Add new setting to completely disable the auto-play next episode feature. When disabled, the countdown button is hidden and the max episode count setting appears greyed out. --- .../settings/PlaybackControlsSettings.tsx | 18 ++++++++++- .../video-player/controls/BottomControls.tsx | 31 ++++++++++--------- translations/en.json | 1 + utils/atoms/settings.ts | 2 ++ 4 files changed, 36 insertions(+), 16 deletions(-) diff --git a/components/settings/PlaybackControlsSettings.tsx b/components/settings/PlaybackControlsSettings.tsx index 58fbb92f..00348166 100644 --- a/components/settings/PlaybackControlsSettings.tsx +++ b/components/settings/PlaybackControlsSettings.tsx @@ -211,7 +211,23 @@ export const PlaybackControlsSettings: React.FC = () => { /> - + + + updateSettings({ autoPlayNextEpisode }) + } + /> + + + = ({ onPress={skipCredit} buttonText='Skip Credits' /> - {(settings.maxAutoPlayEpisodeCount.value === -1 || - settings.autoPlayEpisodeCount < - settings.maxAutoPlayEpisodeCount.value) && ( - - )} + {settings.autoPlayNextEpisode !== false && + (settings.maxAutoPlayEpisodeCount.value === -1 || + settings.autoPlayEpisodeCount < + settings.maxAutoPlayEpisodeCount.value) && ( + + )} ; @@ -264,6 +265,7 @@ export const defaultValues: Settings = { enableH265ForChromecast: false, maxAutoPlayEpisodeCount: { key: "3", value: 3 }, autoPlayEpisodeCount: 0, + autoPlayNextEpisode: true, // Playback speed defaults defaultPlaybackSpeed: 1.0, playbackSpeedPerMedia: {},