Items Appear deleted
been running tv trending script for a bit and I notice I have to delete the trash after each run. Does the script not delete trash after it runs?
It should empty trash automatically. Which version of PMS and python-plexapi are you running? Does the "Empty trash automatically after every scan" server setting (PMS->Settings->Server->Library) make a difference?
I have the trash option turned off cause I use https://github.com/l3uddz/cloudplow to upload. and I also use cloudbox for my setup. so this prevents the trash from emptying if my google drive it not mounted.
I have a cronjob automatically empty the trash for my trending library, after each run, with the following command.
curl -X PUT http://<plex_url>:<plex_port>/library/sections/<section_id>/emptyTrash
You can find the section id in the url when you go to the library in Plex web or Tautulli.