Does anyone know if you can script the modification of user PINs in a Plex Home environment? If so, do you have an example(s)?
My goal is to log the amount of data used with my ISP and when it gets close to the cap it would reset PINs to something the users wouldn’t know. Once the data cap is reset for the month by the ISP, I could then change them back to the previous PIN and this would allow users to view as they normally would. It would require a separate web app to manage all this (knowing previous PINs, data usage, etc) which is in the works.
The other option would be to run a script that would turn off remote access (like using the “Disable Remote Access” button) in the server settings, but I haven’t been able to find any API info for accomplishing this either…
I’ve looked numerous times and couldn’t find anything…hopefully it just wasn’t overlooked…
Any information would be greatly appreciated!