Prune deleted files from /media/DVR/TV on Raspberry Pi 4 custom image

I managed to delete many of my TV Show recordings/directories in /media/DVR/TV on a Raspberry Pi 4 running the custom image. I want to prune all references to these deleted TV Show recordings/directories. I found two commands but I am not sure if they will work on the custom image and which commands I should use. These are those two commands:

curl -XPUT http://127.0.0.1:8089/dvr/pruner/deleted

curl -XPOST http://127.0.0.1:8089/dvr/programs/regenerate

The first one will work. You can run it from another computer by replacing the IP with the IP of your Pi

I ran the command above and it looks like it did what I wanted. Thank you for your quick and correct response.

1 Like