Draft
Conversation
Co-authored-by: krihal <72446+krihal@users.noreply.github.com>
Co-authored-by: krihal <72446+krihal@users.noreply.github.com>
Co-authored-by: krihal <72446+krihal@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add bulk transcribe and bulk export functionality
Add bulk transcribe and bulk export operations
Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds batch processing capabilities for transcription and export workflows. Users can now transcribe multiple uploaded files with a single configuration and export multiple completed transcriptions as a ZIP archive.
Changes
UI (
pages/home.py)toggle_buttons()validates selection state and format compatibilityCore Logic (
utils/common.py)table_bulk_transcribe(table)start_transcription()with row listtable_bulk_export(table)+execute_bulk_export()GET /api/v1/transcriber/{uuid}/resultSRTEditor(parse_srt/parse_txt based on format)Example export flow:
Error Handling
N of M filesexportedFilename Processing
Strips known audio/video extensions (
.mp3,.wav,.mp4, etc.) before appending export extension. Fallback to generic extension stripping for unknown formats.Original prompt
Add Bulk Transcribe and Bulk Export Functionality
Overview
Add the ability for users to transcribe multiple uploaded files at once and export multiple completed transcriptions at once from the home page.
Current Behavior
/srtpage)Required Changes
1. Bulk Transcribe Feature
In
pages/home.py:In
utils/common.py:table_bulk_transcribe(table: ui.table)that:table_transcribe()but shows the count of files to be transcribedstart_transcription()with all selected rows (the existing function already accepts a list of rows)2. Bulk Export Feature
In
pages/home.py:output_format(either all TXT or all SRT)In
utils/common.py:table_bulk_export(table: ui.table)that:GET /api/v1/transcriber/{uuid}/result)API Integration:
GET /api/v1/transcriber/{uuid}/resultto fetch each transcription resultExport Logic:
SRTEditorclass methods:parse_srt(),export_srt(),export_vtt()SRTEditorclass methods:parse_txt(),export_txt(),export_json(),export_rtf(),export_csv(),export_tsv()SRTEditor, load the data, and export in the desired formatZIP File Creation:
zipfilemodule to create an in-memory ZIP file{original_filename}.{export_extension}ui.download()to trigger the ZIP file download3. UI/UX Considerations
Button Visibility Logic in
pages/home.py:toggle_buttons()function to also control:Styling:
default_stylesCSS classes)default-styleclassbutton-default-styleclass4. Files to Modify
pages/home.py:table_bulk_transcribeandtable_bulk_exportfrom utils.commontoggle_buttons()to handle new button statesutils/common.py:table_bulk_transcribe()functiontable_bulk_export()function5. Example Implementation Details
Bulk Transcribe Dialog should show:
Bulk Export Dialog should show:
6. Error Handling
This pull request was created from Copilot chat.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.