I don't know if I was missing something, but my plex jails don't have perl so I modified this to run in my host freenas instance which does, and I fixed a few things like the symlink and merged in the other pull request to fix the plex versioning. If I was a better programmer I would re-write the scrape code to run in whatever IS available in the plex plugin jail.
The remove function was not working as expected and I don't see where PMSPATTERN gets set. It tries to delete several directories but fails since they aren't normal files.
I don't know if I was missing something, but my plex jails don't have perl so I modified this to run in my host freenas instance which does, and I fixed a few things like the symlink and merged in the other pull request to fix the plex versioning. If I was a better programmer I would re-write the scrape code to run in whatever IS available in the plex plugin jail.
The remove function was not working as expected and I don't see where PMSPATTERN gets set. It tries to delete several directories but fails since they aren't normal files.