deltacast-sdi-recorder/backend
Zac Gaetano 17916571b3 fix: lowercase codec enum, recorder .done() bug, TrueNAS deploy override
- frontend types & components now use lowercase codec values (prores/dnxhd/
  h264/uncompressed) to match backend CodecType enum. This was the real
  cause of the silent Start Recording 422.
- recorder.py: replaced last .done() call on asyncio.subprocess.Process
  with returncode-is-None check (same bug previously fixed in hls.py).
  This was causing /api/ports/{n} to 500 during active recording and
  health checks to fail while any port was running.
- useRecorder now parses pydantic 422 error bodies so field-level detail
  reaches the UI, and App.tsx shows a fixed error banner.
- Added docker-compose.truenas.yml: no deltacast device passthrough,
  frontend on :8088. Lavfi testsrc2 fallback kicks in automatically and
  feeds the full HLS preview + recording pipeline with a test signal
  (1080p30 + 1kHz tone). Verified end-to-end on Wooglin: 442MB/1:56s
  H.264 MP4 + working HLS playlist.
2026-04-14 16:20:57 -04:00
..
app fix: lowercase codec enum, recorder .done() bug, TrueNAS deploy override 2026-04-14 16:20:57 -04:00
tests Add backend/tests/test_srt_streamer.py 2026-04-14 09:21:13 -04:00
.env.example Add backend/.env.example 2026-04-14 09:21:06 -04:00
__init__.py Add backend/__init__.py 2026-04-14 09:21:07 -04:00
Dockerfile Add backend/Dockerfile 2026-04-14 09:21:06 -04:00
requirements.txt Add backend/requirements.txt 2026-04-14 09:21:11 -04:00