mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-10 04:46:07 -08:00
Overlay 2.0 (#12)
This commit is contained in:
1 parent
45df3c466b
commit
44c7761c7c
397 files changed
+15139
-7127
No files matched your search
@@ -13,9 +13,10 @@ export type AppendClipboardVideoToQueueRuntimeDeps = {
|
||||
sendMpvCommand: (command: (string | number)[]) => void;
|
||||
};
|
||||
|
||||
export function appendClipboardVideoToQueueRuntime(
|
||||
deps: AppendClipboardVideoToQueueRuntimeDeps,
|
||||
): { ok: boolean; message: string } {
|
||||
export function appendClipboardVideoToQueueRuntime(deps: AppendClipboardVideoToQueueRuntimeDeps): {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
} {
|
||||
const mpvClient = deps.getMpvClient();
|
||||
if (!mpvClient || !mpvClient.connected) {
|
||||
return { ok: false, message: 'MPV is not connected.' };
|
||||
|
||||
Reference in new issue
Block a user