mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-02-04 03:36:29 +08:00
Add toast notifications for intro and outro time settings, update player store and media button for new time tracking
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user