Fix skip loop issue

Fixes #1811
This commit is contained in:
Ajay 2023-07-28 20:34:09 -04:00
parent 299cb485c3
commit 31a9de252d

View file

@ -706,7 +706,7 @@ async function startSponsorSchedule(includeIntersectingSegments = false, current
// Don't pretend to be earlier than we are, could result in loops
if (forcedSkipTime !== null && forceVideoTime > forcedSkipTime) {
forcedSkipTime = null;
forcedSkipTime = forceVideoTime;
}
startSponsorSchedule(forcedIncludeIntersectingSegments, forcedSkipTime, forcedIncludeNonIntersectingSegments);