Auto-play next episode
diff --git a/src/routes/Settings/useProfileSettingsInputs.js b/src/routes/Settings/useProfileSettingsInputs.js
index 26619afce..8cb558146 100644
--- a/src/routes/Settings/useProfileSettingsInputs.js
+++ b/src/routes/Settings/useProfileSettingsInputs.js
@@ -110,6 +110,28 @@ const useProfileSettingsInputs = (profile) => {
});
}
}), [profile.settings]);
+ const seekTimeDurationSelect = useDeepEqualMemo(() => ({
+ options: CONSTANTS.SEEK_TIME_DURATIONS.map((size) => ({
+ value: `${size}`,
+ label: `${size / 1000} seconds`
+ })),
+ selected: [`${profile.settings.seekTimeDuration}`],
+ renderLabelText: () => {
+ return `${profile.settings.seekTimeDuration / 1000} seconds`;
+ },
+ onSelect: (event) => {
+ core.transport.dispatch({
+ action: 'Ctx',
+ args: {
+ action: 'UpdateSettings',
+ args: {
+ ...profile.settings,
+ seekTimeDuration: parseInt(event.value, 10)
+ }
+ }
+ });
+ }
+ }), [profile.settings]);
const bingeWatchingCheckbox = useDeepEqualMemo(() => ({
checked: profile.settings.bingeWatching,
onClick: () => {
@@ -192,6 +214,7 @@ const useProfileSettingsInputs = (profile) => {
subtitlesTextColorInput,
subtitlesBackgroundColorInput,
subtitlesOutlineColorInput,
+ seekTimeDurationSelect,
bingeWatchingCheckbox,
playInBackgroundCheckbox,
playInExternalPlayerCheckbox,