Fixed intro skipper for VLC

This commit is contained in:
Alex Kim
2024-10-28 21:40:09 +11:00
parent db20fffeb5
commit 0f178a502b
3 changed files with 41 additions and 6 deletions

View File

@@ -12,6 +12,7 @@ import { getDefaultPlaySettings } from "@/utils/jellyfin/getDefaultPlaySettings"
import { writeToLog } from "@/utils/log";
import {
formatTimeString,
msToSeconds,
msToTicks,
secondsToMs,
ticksToMs,
@@ -130,14 +131,16 @@ export const Controls: React.FC<Props> = ({
offline ? undefined : item.Id,
currentTime,
seek,
play
play,
isVlc
);
const { showSkipCreditButton, skipCredit } = useCreditSkipper(
offline ? undefined : item.Id,
currentTime,
seek,
play
play,
isVlc
);
const goToPreviousItem = useCallback(() => {