This is a simple script to procedurally rename all files in a given directory to Plex compliant names
For this script to work, a few assumptions are made
1 - Your directory scheme is setup and named appropriately. Such as:
~\Shows\SHOWNAME\Season XX\Episode.mkv
~\Shows\Fate Zero\Season 01\Fate Zero episode 1 [1080p].mp4
~\Shows\Mongatari\Season 01 - Bakemonogatari\Hitagi Crab pt1.mov
Any directory higher than \Shows\ does not matter.
2 - The episodes are already in the correct order
3 - All episodes are the same filetype. In other words, all share the same extension. The script will not attempt to modify files that do not share the extension of the targeted file.
There are two ways to use the script.
Make sure you change the file paths in SPRS.bat to match the locations of Python and these scripts on your PC.
- Execute SPRS.bat or Main.py, from there drag and drop or enter the first episode of a given season and follow the prompts.
- Place a shortcut of SPRS.bat where you would like and then drag and drop the first episode of a given season to it.