Organizing Movies and TV Episodes - ScottRFrost/scottrfrost.github.io GitHub Wiki
Preparation
- Download the latest filebot from https://www.filebot.net/#download
- Create a "Movies" and "TV" folder, along with any directories you'd like to categorize them under
- Create a "_Categorize" folder (or similar) as a sub-folder in your "Movies" and "TV" folders
Movies
- Open filebot, make sure you have Rename selected on the left side, then right click the left (Original Files) pane and click Edit Format
- Click the "Switch to XX" in the bottom left corner until you're in Movie Format
- Paste the following into the format box (don't worry that it's single line, it'll all fit) substituting your drive letter:
..\{
if (genres.contains('Romance')) {'Chick Flick'}
else if (genres.contains('Animation')) {'Animation'}
else if (genres.contains('Horror')) {'Horror'}
else if (genres.contains('Family')) {'Family'}
else if (genres.contains('Science Fiction')) {'Science Fiction'}
else if (genres.contains('Fantasy')) {'Science Fiction'}
else if (genres.contains('Comedy')) {'Comedy'}
else if (genres.contains('Documentary')) {'Documentary'}
else if (genres.contains('History')) {'Documentary'}
else if (genres.contains('Drama')) {'Drama'}
else if (genres.contains('Adventure')) {'Adventure'}
else 'Action'
}\{n} ({y})
- Click "Use Format", then click "Load" on the Original Files pane and browse to your source folder.
- Under the New Names pane, click "Fetch Data", then select "TheMovieDB".
- After a moment the proposed new names should appear. Click the "Rename" arrow between the two panes, and accept the fixes for invalid file names.
TV
Follow a similar process to movies above, but switch to Episode Format and specify the following format:
..{n}\Season {s}\{n} - {s00e00} - {t}
After clicking Fetch Data, choose "TheTVDB" instead of "TheMovieDB". All other steps are the same.