JBOPS
JBOPS copied to clipboard
Remove Inactive Users API Issue
Describe the bug
Script stopped working and started giving this error message.
I noticed Tatulli uses the first API link, this link has a lot more users on there that I am NOT sharing with. https://plex.tv/api/users?X-Plex-Token=XXX
And this link shows the exact users who I'm sharing with. https://plex.tv/api/servers/XXX/shared_servers?X-Plex-Token=XXX
Provide logs
freepo6 was last seen 14 days, 6 hours, 40 minutes, 56 seconds ago, and has reached their shareless threshold. Removing. Traceback (most recent call last):
File "C:\Users\Administrator\Documents\Plex Remove Inactive Users\remove.bat", line 104, in
Link to script with bug/issue
To Reproduce
Steps to reproduce the behavior: Run script as is.
Expected behavior Remove users
Desktop (please complete the following information):
- OS: windows server 2022
- Python version 3.11.4
- PlexAPI version 4.15.7