diff --git a/src/lib/api.ts b/src/lib/api.ts index bcbc489..3819b80 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -431,6 +431,12 @@ export const api = { // already had rather than resetting it to auto. reprocessTranscript: (meetingId: MeetingId, model: string, language?: string) => invoke("reprocess_transcript", { meetingId, model, language }), + // Manually add a meeting from an existing recording — a local audio/video + // file path or a URL (YouTube/streaming page or direct media URL). Requires + // ffmpeg (and yt-dlp for URLs) on PATH; neither is bundled. Returns the new + // meeting's id once transcription + diarization have finished. + importMedia: (source: string, title?: string) => + invoke("import_media", { source, title }), resumeTranscription: (meetingId: MeetingId) => invoke("resume_transcription", { meetingId }), listMeetings: (filter?: MeetingFilter) =>