feat: enhance media management with CRUD operations and runtime tracking in admin UI
This commit is contained in:
1 parent
47740e3f4a
commit
7cfddfc7ef
6 files changed
+535
-103
No files matched your search
@@ -2,6 +2,27 @@
|
||||
|
||||
<!-- markdownlint-disable MD024 -->
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Added
|
||||
|
||||
- Documentation for Admin UI Media Library (arc42 updates, refined TODO, media DB model decisions per ADR-006).
|
||||
- Started implementation of full Media CRUD + video duration extraction using ffprobe (Media Library - Full CRUD section).
|
||||
- Added `/api/admin/media/{id}` GET/PUT/DELETE handlers for media metadata retrieval, updates, and file+record deletion.
|
||||
- Extended admin schedule and dashboard data endpoints with media duration totals, runtime strings, and media counts.
|
||||
- Added admin UI runtime display for schedule/dashboard plus media library edit/delete actions.
|
||||
|
||||
### Changed
|
||||
|
||||
- Revised ADR-006 to reflect current implemented storage: PostgreSQL is the compose default and deployed primary backend, with SQLite retained as optional fallback.
|
||||
- Updated chat runtime image to include ffmpeg/ffprobe for media duration probing on upload.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Started Admin UI Media Library backend implementation by adding the `Media` GORM model and AutoMigrate integration in chat startup.
|
||||
- Implemented media upload duration probing with ffprobe and persisted media metadata to the database alongside filesystem storage.
|
||||
- Updated media listing to read from the media table and return duration metadata with HH:MM:SS runtime formatting.
|
||||
|
||||
## [1.0.3] - 2026-08-03
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user