diff --git a/src/components/player/atoms/NextEpisodeButton.tsx b/src/components/player/atoms/NextEpisodeButton.tsx index bdb8faf6..eec3ed31 100644 --- a/src/components/player/atoms/NextEpisodeButton.tsx +++ b/src/components/player/atoms/NextEpisodeButton.tsx @@ -81,7 +81,7 @@ export function NextEpisodeButton(props: { }, [setDirectMeta, nextEp, meta, props, setShouldStartFromBeginning]); useEffect(() => { - if (time >= duration && meta && nextEp) { + if (time === duration && meta && nextEp) { loadNextEpisode(); } }, [time, duration, meta, nextEp, loadNextEpisode]);