v1.3.0: The Interactive Subtitle Workstation Update
🚀 Overview
Version 1.3.0 completely transforms the application from a linear, forward-only generation script into an interactive, non-linear Subtitle Workstation. Users can now review, proofread, and batch-edit their translations directly inside the browser canvas before exporting perfectly aligned subtitle files.
💎 Key Features
⏱️ Interactive Subtitle Review Timeline
- Visual Workspace: Added a beautifully styled, scrollable timeline view in the right-hand panel that populates instantly upon pipeline completion.
- Frame-Accurate Alignment: Fixed critical positional parameter issues within the background worker to ensure WhisperX forced-alignment syncs acoustic phonemes flawlessly, yielding millisecond-accurate timecodes.
✍️ Inline Card Editing & Auto-Save
- WYSIWYG Word Processing: Turned static text blocks into live editing fields using HTML5
contenteditable. - Zero-Interruption Sync: Implemented an asynchronous background saving pipeline (
PATCH /videos/{id}/segments/{sid}). Modifying a word and clicking away seamlessly updates the local SQLite database without locking up the user interface. - Safe-Fail Guards: Introduced an empty-string discard filter. If a line is accidentally wiped out, the UI safely restores the original text block to prevent timeline data corruption.
🔍 Global Find & Replace Console
- Batch Terminology Correction: Added a sleek, high-efficiency utility bar at the top of the timeline panel to sweep and replace systemic AI translation errors across the entire video file in milliseconds.
- Race Condition Prevention: Built a global execution lock state that blocks duplicate double-clicks and gracefully manages concurrent processing between manual card saves and batch text overrides.
🎨 UI/UX Refinements
- Decluttered Workspace: Stripped away the legacy, pre-translation "Custom Terms" override grid to streamline the desktop layout.
- Progressive Disclosure: The project setup panel (languages, engine keys) now automatically collapses when processing starts to leave a clean, focused log and terminal view.
- Intelligent Toast Notifications: Eliminated noisy pipeline spam and reintroduced targeted, high-layer (
z-[9999]) visual confirmation popups specifically for user editing actions. - Persistent History Logs: Step durations and pipeline timestamps now remain perfectly intact inside the activity monitor across pipeline phase transitions.
- Air-Tight Hydration: Fixed state restoration on browser page reloads. Refreshing a completed project now immediately hydrates the full timeline grid and context brief perfectly from the URL state.
🛠️ Under the Hood
- Optimized SQL performance utilizing SQLAlchemy's
selectinload()strategy to eagerly package segment payloads in a single database round-trip. - Added soft-degradation fallbacks to the transcription service, cleanly routing critical external environment or package exceptions into handled user logs without freezing the job queue.