Plex Automation

Hi all

Hoping someone can help :slight_smile: I have been looking for something that will clearly help with plex automation. I have a few friends I share my plex library with, sometimes for only a week or a day or whatever. Are there any scripts that I could use so they can either add themselves to the share and it will auto-delete after a specified amount of time on a cron job…or where I can add them and say set a time scale, like 12hrs and it’ll delete them after the timeframe too?

Thanks for your help. I’ve tried searching around but can’t identify anything that does this.