blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.71k stars 304 forks source link

Checks UserList.log for users who have not accepted / used invite #247

Closed sirloinofbeef closed 4 years ago

sirloinofbeef commented 4 years ago

New variable USE_USERLIST_LOG can be set (True / False) to enable / disable the following new function: A log of when users were added using the JBOPS invite script is stored in UserList.log. The Remove Users script checks this log to see if any invited users have not accepted / used their invite within REMOVE_LIMIT days, and removes them from Plex if so. The alterations adhere to the DRY_RUN variable, and do not remove anything in a dry run.

sirloinofbeef commented 4 years ago

Ignore my horrendous coding. Riddled with mistakes.