You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix COURSE_DATA_DIR default to ~/AutoNote (matching Electron app)
Root cause: Python scripts defaulted COURSE_DATA_DIR to DATA_DIR
(~/.auto_note) when OUTPUT_DIR was empty, but the Electron app's
getOutputDir() defaults to ~/AutoNote. Course data (captions,
materials, alignment) lives under ~/AutoNote, so Python saved the
mapping to ~/.auto_note where the JS scan couldn't find it.
Fix: all Python scripts (semantic_alignment, note_generation,
frame_extractor) now default COURSE_DATA_DIR to ~/AutoNote when
OUTPUT_DIR is not set — matching the Electron app's behavior.
JS align:scan also updated to check OUTPUT_DIR first, DATA_DIR
as fallback.
Verified end-to-end: Python saves mapping to ~/AutoNote/88787/,
JS align:scan finds it there.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments