Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ User-facing progress for Rescript. Items are marked done when they shipped to
- [x] One-click **Remove silences** (pauses / dead air ≥ 0.3s)
- [x] Import your own transcript (SRT / VTT / JSON) instead of running Whisper
- [x] Import cancel UX (no stuck selector / blocked media drop)
- [x] Manual speaker controls (rename, change, add, move label, merge, remove)

### Transcription quality & models
- [x] Whisper Base and Whisper Small selectable on upload
Expand Down
3 changes: 3 additions & 0 deletions components/ExportDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export default function ExportDialog() {
const mediaKind = useEditorStore((s) => s.mediaKind);
const duration = useEditorStore((s) => s.duration);
const words = useEditorStore((s) => s.words);
const speakers = useEditorStore((s) => s.speakers);
const hasAudioTrack = useEditorStore((s) => s.audio !== null);
const status = useEditorStore((s) => s.status);
const setStatus = useEditorStore((s) => s.setStatus);
Expand Down Expand Up @@ -217,6 +218,7 @@ export default function ExportDialog() {
downloadTranscript(words, format, baseName, {
duration,
cuts,
speakers,
});
setError(null);
} catch (err) {
Expand All @@ -226,6 +228,7 @@ export default function ExportDialog() {
[
hasWords,
words,
speakers,
transcriptFormat,
subtitleFormat,
baseName,
Expand Down
8 changes: 6 additions & 2 deletions components/ImportTranscriptOption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,13 @@ export default function ImportTranscriptOption() {
setError(null);
setSource("import"); // so the closed trigger can show progress
try {
const words = await parseTranscriptFile(file);
const parsed = await parseTranscriptFile(file);
if (pickGenRef.current !== gen) return;
setPendingTranscript({ name: file.name, words });
setPendingTranscript({
name: file.name,
words: parsed.words,
speakers: parsed.speakers,
});
setSource("import");
menu?.closeMenu();
} catch (err) {
Expand Down
Loading
Loading