frigate icon indicating copy to clipboard operation
frigate copied to clipboard

[Feature] Delete recordings manually via WebUI

Open cqjjjzr opened this issue 2 years ago • 7 comments

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)

cqjjjzr avatar Nov 28 '22 06:11 cqjjjzr

+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.

hibby50 avatar Mar 30 '23 23:03 hibby50

+1

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

SoftwareSchlosser avatar Apr 04 '23 08:04 SoftwareSchlosser

+1 from me

Shazib avatar Aug 27 '23 10:08 Shazib

support for manual sync has been added in 0.13

NickM-27 avatar Aug 27 '23 12:08 NickM-27

+1 from me

maciejgornicz avatar Sep 19 '23 19:09 maciejgornicz

+1

alanRfol avatar Mar 17 '24 09:03 alanRfol

+1

zeroarst avatar Apr 26 '24 14:04 zeroarst