PHP Scripts for Plex Automation?

Hi all

Hope you’re well.

I am wondering if anyone out there has developed or used PHP based web applications to automate the admin of plex shares?

I have a few friends who use my plex server from time to time - but only for the odd thing. I usually have to remember to go in and remove them after say a day or something.

Is there any scripts I could use to either add them myself or let them add themselves (my URL to web server is private) - but that would remove them by default after like 8hrs or something (I could set up a cron job for the php script?)

Any PHP scripts that utilise the API would be fantastic to learn how it all works etc. I’ve been exploring the XML outputs today which seem good and I could get PHP to read that data - it’s just writing back (using cURL?) to things like the users database etc.

I used a moderators thread to obtain my Plex token. That works great. And I found a script I can use to remove a user’s libraries (specific or all) but is there a way I can invite a user and delete a user entirely

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.