Add toast notifications for intro and outro time settings, update player store and media button for new time tracking

This commit is contained in:
zimplexing
2025-07-08 22:07:14 +08:00
parent 5043b33222
commit 30724a1e19
10 changed files with 135 additions and 32 deletions

View File

@@ -67,7 +67,6 @@ export const useTVRemoteHandler = () => {
if (event.eventType === "longRight" || event.eventType === "longLeft") {
if (event.eventKeyAction === 1) {
if (fastForwardIntervalRef.current) {
console.log("Long right key released, stopping fast forward.");
clearInterval(fastForwardIntervalRef.current);
fastForwardIntervalRef.current = null;
}
@@ -82,8 +81,6 @@ export const useTVRemoteHandler = () => {
return;
}
console.log("TV Event:", event);
switch (event.eventType) {
case "select":
togglePlayPause();