added rpc support for mpv and tracking

This commit is contained in:
2025-12-31 14:47:37 +01:00
parent 47433733d0
commit 9daa4f1ad8
2 changed files with 98 additions and 62 deletions

View File

@@ -4,8 +4,6 @@ let rpcClient: Client | null = null;
let reconnectTimer: NodeJS.Timeout | null = null;
let connected = false;
type RPCMode = "watching" | "reading" | string;
interface RPCData {
details?: string;
state?: string;