feat(recording): add recording file deletion and overview functionality #27

Merged
wandabastyle merged 8 commits from pvr into main 2026-04-30 00:47:24 +02:00
wandabastyle commented 2026-04-30 00:43:50 +02:00 (Migrated from github.com)
  • Added a new endpoint `/api/recordings/delete` to handle the deletion of recording files.
  • Updated `recording.rs` with a new enum `RecordingBucket` and methods to manage completed and incomplete recordings.
  • Refactored `list_recording_files` to return a vector of tuples containing channel login and file paths.
  • Added validation for recording filenames and updated error handling in file deletion.
  • Implemented a function to prune old completed recordings based on the number of videos to keep.
  • Updated the web API to include methods for deleting recording files and navigating between channels and recordings views.
- Added a new endpoint \`/api/recordings/delete\` to handle the deletion of recording files. - Updated \`recording.rs\` with a new enum \`RecordingBucket\` and methods to manage completed and incomplete recordings. - Refactored \`list_recording_files\` to return a vector of tuples containing channel login and file paths. - Added validation for recording filenames and updated error handling in file deletion. - Implemented a function to prune old completed recordings based on the number of videos to keep. - Updated the web API to include methods for deleting recording files and navigating between channels and recordings views.
Sign in to join this conversation.
No description provided.