ommit
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

This commit is contained in:
1xDed committed 2026-12-03 07:20:39 +03:00
1 parent cbb750a413
commit 497b9a2fc5
42 files changed
+945 -354

No files matched your search

-4
View File
@@ -565,7 +565,6 @@ export const usePlaybackStore = create<
},
},
registerPlayerActions: (actions) => {
console.info("Registering player actions:", actions);
set({
_playerActions: actions,
});
@@ -628,10 +627,8 @@ export const usePlaybackStore = create<
(s) => s.Id === activeSegmentId,
);
if (!activeSegment) {
console.warn("No segment to skip");
return;
}
console.info("Skipping segment:", activeSegment);
get()._playerActions.seekTo(ticksToSec(activeSegment.EndTicks ?? 0));
},
handleStartSeek: (ticks) => {
@@ -653,7 +650,6 @@ export const usePlaybackStore = create<
const ticks = secToTicks(seconds);
const segments = get().metadata.mediaSegments?.Items;
if (!segments || segments.length === 0) {
console.warn("No segments available for seeking");
return;
}
const segment = segments.find(