Input validation work and error handling

This commit is contained in:
Bradley committed 2026-11-13 22:18:45 -05:00
1 parent 4e2520ee76
commit 554b7cc82c
20 files changed
+627 -96

No files matched your search

+2 -2
View File
@@ -30,10 +30,10 @@ an FFplay-based player with unified playback selection; device control is still
- [x] Link the home page to a unified media library with Play buttons, live selection
indicators, media-type icons, and cached local image/video thumbnails.
- [ ] Connect the existing placeholder controls to backend actions.
- [ ] Add input validation for media names, duplicate names, stream URLs, and
- [x] Add input validation for media names, duplicate names, stream URLs, and
uploaded files.
- [ ] Ensure upload destinations remain inside the configured upload directory.
- [ ] Handle missing form fields, missing files, and storage/database failures
- [x] Handle missing form fields, missing files, and storage/database failures
with useful error messages.
- [x] Close request-scoped database connections when requests finish.