rieck / perplex

A Movie Renamer for Plex Metadata
39 stars 17 forks source link

Update to newest Plex Version and Rename Function instead of copying the whole database #11

Closed windowslucker1121 closed 1 year ago

windowslucker1121 commented 1 year ago

Update to newest Plex Version. Added function to print movies which have multiple files attached to Added function to rename the Files instead of copying them.

Usage: --printDoubles prints out movies with multiple files attached to them --justRename directory renames only files which are in the given directory

this works on my side with a linux machine running plex media server on - i only tested this once on 3 different shares, and it worked great - i cant tell if there are any more bugs.

here is how i done it:

shutting down the PMS, copying out the database to /home/com.plexapp.plugins.library.db now start the script on the same server the plex media server runs on

python3 perplex.py --dry --printDoubles --plex /home/ --justRename /THE_FOLDER_YOUR_MOVIES_ARE_IN

please first use the --dry option to confirm everything seems okay and then run the same command without the dry parameter.

rieck commented 1 year ago

Thanks a lot!