Commit Graph

5 Commits

Author SHA1 Message Date
KansaiGaijin
6c760b5e2e Preload audio as Blob for instant seeking; generate Opus playback file; delete original upload after extraction
Some checks failed
Build and Push / build (push) Has been cancelled
- Download full audio as Blob on mount so seeking is instant (no network range-requests)
- Remove readyState guard from playAt() that was silently blocking seek attempts
- Add disabled/ready state to SessionReel for reliable click-to-seek
- Generate 48kbps Opus playback file during extraction (~65MB for 3hrs vs 1.5GB lossless)
- Serve Opus first in audio endpoint, then original upload, then extracted WAV
- Delete original upload after successful transcription to reclaim storage
- Reorder extract_audio checks so retry works without the original file
- Fix Back links on Speakers and Notes pages to go to home
2026-07-30 10:38:10 +12:00
KansaiGaijin
aed6553ff4 Serve original uploaded file instead of WAV for audio playback
All checks were successful
Build and Push / build (push) Successful in 12m35s
The audio endpoint was serving the extracted WAV (16kHz mono PCM)
which balloons to ~1GB for a 3-hour session. Browsers cannot seek
efficiently in such a large uncompressed file.

Now the endpoint serves the original uploaded file (m4a, mp3, opus, etc.)
— a compressed format the browser can seek via byte-range requests.
Falls back to the WAV if the original is missing.
2026-07-21 22:04:02 +12:00
KansaiGaijin
bc7ac32de3 Add campaign layer, GPU model caching, file browser cleanup
- Campaigns: new table, CRUD API, React context + provider
- Sessions: scoped to campaigns, paths under campaigns/{id}/
- File browser: scoped per campaign, removed copy/paste/autoPlay
- Sidebar: campaign selector dropdown at top
- Transcribe: GPU model cached/released via job counter
- Jobs: status text updates dynamically in real-time
- Auto-redirect: blocked when summarize job is active
2026-07-10 21:41:29 +12:00
KansaiGaijin
db19cfd05e Add files page and router, update settings, sessions, and notes 2026-07-10 18:28:55 +12:00
KansaiGaijin
0f9e9d4c5c Initial commit: Nat20 Notes — TTRPG session transcription & summarization 2026-07-06 23:50:09 +12:00