blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
18.87k stars 1.72k forks source link

[Feature] Delete recordings manually via WebUI #4535

Open cqjjjzr opened 1 year ago

cqjjjzr commented 1 year ago

Describe what you are trying to accomplish and why in non technical terms

I've been tweaking the FFmpeg settings for my 24/7 frigate recording. During the process days of waste data was produced, therefore I'd like to delete the recorded video. I've directly deleted them from the disk, but it seems that those entries are still shown on the "recordings" webpage, causing confusion (attempting to playback will only result in errors or loading forever).

Therefore, I hope that I can delete recording manually via webui, and can manually sync the recording files with the database.

Describe the solution you'd like

In /recording/{camera_name} endpoint, "Delete" buttons should be added to the entries on the right sidebar, in granularity of both day and hour.

In the same page, a "Sync with Disk" (maybe other label) button should be added, which calls the (currently unused) sync_recordings function in record.py.

Describe alternatives you've considered (N/A)

Additional context (N/A)

hibby50 commented 1 year ago

+1

I actually have some corrupted recordings that are stuck. The end date is in the future, and the id does not correlate with an event so it cannot be deleted using the delete /api/events/id call.

SoftwareSchlosser commented 1 year ago

+1

It would be great to be able to delete recordings manually.

Shazib commented 1 year ago

+1 from me

NickM-27 commented 1 year ago

support for manual sync has been added in 0.13

maciejgornicz commented 1 year ago

+1 from me

alanRfol commented 7 months ago

+1

zeroarst commented 6 months ago

+1