change next and prev keyboard shortcuts

This commit is contained in:
Pas 2025-12-21 21:10:58 -07:00
parent 869e4fca78
commit eca44987f7
2 changed files with 4 additions and 4 deletions

View file

@ -54,12 +54,12 @@ const getShortcutGroups = (t: (key: string) => string): ShortcutGroup[] => [
condition: t("global.keyboardShortcuts.conditions.whenPaused"),
},
{
key: "N",
key: "P",
description: t("global.keyboardShortcuts.shortcuts.nextEpisode"),
condition: t("global.keyboardShortcuts.conditions.showsOnly"),
},
{
key: "P",
key: "O",
description: t("global.keyboardShortcuts.shortcuts.previousEpisode"),
condition: t("global.keyboardShortcuts.conditions.showsOnly"),
},

View file

@ -521,8 +521,8 @@ export function KeyboardEvents() {
if (k === "Escape") dataRef.current.router.close();
// Episode navigation (shows only)
if (keyL === "n") dataRef.current.navigateToNextEpisode();
if (keyL === "p") dataRef.current.navigateToPreviousEpisode();
if (keyL === "p") dataRef.current.navigateToNextEpisode();
if (keyL === "o") dataRef.current.navigateToPreviousEpisode();
// captions
if (keyL === "c") dataRef.current.toggleLastUsed().catch(() => {}); // ignore errors