Add file state validation logging before subtitle processing

This commit is contained in:
DJP 2025-12-10 23:09:22 -05:00
parent b4ddcc8247
commit ac8c8c917a

View file

@ -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);