mstinaff / PMS_Updater

Shell script for updating the Plex Media Server inside the FreeNAS Plex plugin
MIT License
441 stars 90 forks source link

Modified to run in host FreeNAS install just change jail name. #42

Closed jbeez closed 5 years ago

jbeez commented 5 years ago

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.