From ac8c8c917aad4319caa4efffd994b3c9d19cae31 Mon Sep 17 00:00:00 2001 From: DJP Date: Wed, 10 Dec 2025 23:09:22 -0500 Subject: [PATCH] Add file state validation logging before subtitle processing --- frontend/app/video/subtitles/page.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/app/video/subtitles/page.tsx b/frontend/app/video/subtitles/page.tsx index 2afc2ea..89469fa 100644 --- a/frontend/app/video/subtitles/page.tsx +++ b/frontend/app/video/subtitles/page.tsx @@ -88,6 +88,13 @@ export default function SubtitlesPage() { return; } + // Debug: Check file state + console.log('🎬 Starting subtitle processing...'); + console.log(' File object:', file); + console.log(' File name:', file.name); + console.log(' File size:', file.size, 'bytes'); + console.log(' File type:', file.type); + setLoading(true); setResults(null);