Python script used to update plex database when using the tar file from PCS.
- To download the latest release click here
- Python 3.7 or newer
- Double check your python3 version
python3 --version
, if it's less than 3.7, update it to the latest version.
- Double check your python3 version
- plex.tar (If you want to use the backed-up metadata)
- Make sure that the file is in the same directory as the script.
- pv
apt install pv
- Used to show the progress of the extraction.
python3 meta_update.py
- If you installed PMS through dpkg (Standard Installation) or using a docker installation, then run it as sudo
sudo python3 meta_update.py
- Add a trailing "/" if the user didn't add it their path
- Check whether user has multiple installation paths, currently we're just assuming that they have only one
- Automatically extract the tar file and move the files over for the user
- Backup the original Preferences.xml and restore it after
- Rework the extraction part, not working as intended.
- Double check the permissions after extracting the tar file
- Check if the custom path exists
- Fix permissions for custom path type