(videoId: string)
| 168 | } |
| 169 | |
| 170 | async function markError(videoId: string): Promise<void> { |
| 171 | "use step"; |
| 172 | |
| 173 | await db() |
| 174 | .update(videos) |
| 175 | .set({ transcriptionStatus: "ERROR" }) |
| 176 | .where(eq(videos.id, videoId as Video.VideoId)); |
| 177 | } |
| 178 | |
| 179 | async function extractAudio( |
| 180 | videoId: string, |
no test coverage detected