If you’re just triggering a rescan of your PMS, have you tried creating a PostCustomCommand with a curl
command and passing the URL + token + library id of your PMS as the parameters?
Something like this in Windows 10:
PostCustomCommandPath=C:\Windows\System32\curl.exe
PostCustomCommandParameters=http://[PMS_IP_ADDRESS]:32400/library/sections/[your_library_id]/refresh?X-Plex-Token=[YourTokenGoesHere]
PostCustomCommandHangPeriod=30
PostCustomCommandCritical=false
PostCustomCommandUISession=false
PostCustomCommandShowWindow=false
PostCustomCommandExitCodeCheck=false