readd mpv reload handler

This commit is contained in:
jeffvli
2026-01-04 01:01:01 -08:00
parent 5f1867c14f
commit 0596faf51e
3 changed files with 27 additions and 16 deletions
+3
View File
@@ -10,6 +10,7 @@ export type EventMap = {
ITEM_LIST_UPDATE_ITEM: ItemListUpdateItemEventPayload;
MEDIA_NEXT: MediaNextEventPayload;
MEDIA_PREV: MediaPrevEventPayload;
MPV_RELOAD: MpvReloadEventPayload;
PLAYER_PLAY: PlayerPlayEventPayload;
PLAYER_REPEATED: PlayerRepeatedEventPayload;
PLAYLIST_MOVE_DOWN: PlaylistMoveEventPayload;
@@ -42,6 +43,8 @@ export type MediaPrevEventPayload = {
prevIndex: number;
};
export type MpvReloadEventPayload = Record<string, never>;
export type PlayerPlayEventPayload = {
id: string;
index: number;