plexpass-updater is a bash script for updating Plex Media Server with the latest pre-release versions available to plexpass members.
- Download and upgrade PMS to the latest Plex Pass version using Plex token
- Skipping upgrade of PMS if the server has active streaming sessions
- Syslog integration for logging events
To download and install just clone this repository using GIT
git clone https://github.com/frossmant/plexpass-updater
- Make sure you've got your plex token key, if not check this guide on how to get it.
First edit the plexpass-updater.sh script
vi plexpass-updater.sh
Now replace the value for variable PLEX_TOKEN with your own PLEX token key.
- PLEX_TOKEN=EnterMyPlexPassToken
+ PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxx
Save and exit out of vi.
Just run the script locally on your PLEX Media Server as root to upgrade your server.
./plexpass-updater.sh
By default the script will skip upgrading the server if you have active streaming sessions from your server. Here are all available arguments/options for this script.
OPTIONS:
force forcing upgrade even if server has active sessions
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.