MCPcopy
hub / github.com/CapSoftware/Cap / markNoAudio

Function markNoAudio

apps/web/workflows/transcribe.ts:161–168  ·  view source on GitHub ↗
(videoId: string)

Source from the content-addressed store, hash-verified

159}
160
161async function markNoAudio(videoId: string): Promise<void> {
162 "use step";
163
164 await db()
165 .update(videos)
166 .set({ transcriptionStatus: "NO_AUDIO" })
167 .where(eq(videos.id, videoId as Video.VideoId));
168}
169
170async function markError(videoId: string): Promise<void> {
171 "use step";

Callers 1

transcribeVideoWorkflowFunction · 0.85

Calls 2

dbFunction · 0.90
updateMethod · 0.80

Tested by

no test coverage detected