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