Any way to delete all Library items at once?

My workflow is to move recorded videos to another location for processing and subsequent viewing. So the videos are not physically in the Channels DVR Library after the moves, but appear in Library listing.

I prefer to not have these 'ghost' videos cluttering my list, although I could of course just ignore the ever increasing list. I haven't found a way to Trash them other than selecting each one in the Library view and Trashing it.

Or maybe there's a way to set automatic deletion after some period of time?

Thanks!

curl -XPUT http://serverip:8089/dvr/pruner/deleted
curl -XPOST http://serverip:8089/dvr/programs/regenerate

2 Likes

Is there some prerequisite for this to work, other than curl? Because it doesn't.

root@tcm:~# !506
curl -XPUT http://192.168.50.26/dvr/pruner/deleted

405 Not Allowed

405 Not Allowed


nginx root@tcm:~#

You forgot to put the port number in your command; append :8089 to the IP address, before the endpoint.

1 Like

Duh! You're absolutely right! Thanks!