Skip to content

Nick0703/PCS_MetaUpdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PCS_MetaUpdate

Python script used to update plex database when using the tar file from PCS.

Download

Requirements

  • 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.
  • 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.

How to use it

  • 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

To-do list

  • 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

About

Python script used to update plex database when using the tar file from PCS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published