Closed jbeez closed 4 years ago
Looks good. Only thing I would add now would be a way to check if any users are watching plex and delay update until no active users. That way it would be piece of mind for making it a cron job and not killing someones movie or show for an update. Another script does this here - https://github.com/mrworf/plexupdate/blob/master/plexupdate-core#L180-L207
It reads the plex-ip:32400/status/sessions url which is XML listing the active sessions.
Fixed a few issues @mstinaff