mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-17 08:54:27 +02:00
Adding a hotkey to jump to the currently playing song (only works without pagination) (#2024)
This commit is contained in:
@@ -160,6 +160,7 @@ const BindingActionsSchema = z.enum([
|
||||
'listPlayNext',
|
||||
'listPlayLast',
|
||||
'listNavigateToPage',
|
||||
'listShowPlayingSong',
|
||||
]);
|
||||
|
||||
const DiscordDisplayTypeSchema = z.enum(['artist', 'feishin', 'song']);
|
||||
@@ -763,6 +764,7 @@ export enum BindingActions {
|
||||
LIST_PLAY_LAST = 'listPlayLast',
|
||||
LIST_PLAY_NEXT = 'listPlayNext',
|
||||
LIST_PLAY_NOW = 'listPlayNow',
|
||||
LIST_SHOW_PLAYING_SONG = 'listShowPlayingSong',
|
||||
LOCAL_SEARCH = 'localSearch',
|
||||
MUTE = 'volumeMute',
|
||||
NAVIGATE_HOME = 'navigateHome',
|
||||
@@ -1217,6 +1219,7 @@ const initialState: SettingsState = {
|
||||
listPlayLast: { allowGlobal: false, hotkey: '', isGlobal: false },
|
||||
listPlayNext: { allowGlobal: false, hotkey: '', isGlobal: false },
|
||||
listPlayNow: { allowGlobal: false, hotkey: '', isGlobal: false },
|
||||
listShowPlayingSong: { allowGlobal: false, hotkey: 'mod+l', isGlobal: false },
|
||||
localSearch: { allowGlobal: false, hotkey: 'mod+f', isGlobal: false },
|
||||
navigateHome: { allowGlobal: false, hotkey: '', isGlobal: false },
|
||||
next: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
|
||||
Reference in New Issue
Block a user