My python scripts to manage Plex movie server content. Automating tedious tasks like renaming, organizing, and syncing.
Ensure that the script is run in a directory where you have permission to rename files.
Batch Renaming Files (to match Plex naming conventions) This script batch renames movie files to match the correct Plex naming conventions, which generally follow a format like: MovieName (Year).ext.
Example input
TheMatrix1999.mkv
Inception2010.mp4
Avatar2009.avi
Example output
Renamed: TheMatrix1999.mkv -> TheMatrix (1999).mkv
Renamed: Inception2010.mp4 -> Inception (2010).mp4
Renamed: Avatar2009.avi -> Avatar (2009).avi
After running the script, your directory /path/to/your/movies will have the following renamed files
TheMatrix (1999).mkv
Inception (2010).mp4
Avatar (2009).avi
This script moves movie files into different folders based on certain keywords in the filename (e.g., genre or type).
This script filters movies from a directory based on their release year and sorts them accordingly.
First install the IMDb library
pip install IMDbPY
This script scrapes movie metadata from IMDb (e.g., rating, genre, plot) and stores it in a CSV file for organizing and updating Plex content.