Requirements:
- Working Homebrew installed.
- Homebrew: brew tap caskroom/cask
- Homebrew: brew install terminal-notifier
- Homebrew: brew cask install filebot --force --appdir=/Applications
- Homebrew: brew install tag
- Homebrew: brew install detox
- Homebrew: brew install ffmpeg
- Java JRE or SDK version 8 or greater.
Note: you may have to symlink /usr/local/Cellar/terminal-notifier/1.6.3/terminal-notifier.app to /Applications/terminal-notifier.app
Geared towards OS X, but could easily be adapted for most *nix distros.
This script will do several things in this order:
- Optionally run a script before execution. Useful to act on media first, perhaps a remux.
- It will clean-up extra files downloaded that are not needed, removing them first so that they do not end up in your sorted directories.
- Next, it runs Filebot and sorts the file into the proper dir.
- It cleans-up common "extra files" left behind, as well as any empty directories. You still may have to clean up a few things now and then, but it is better than a full rm of everything. I add items I discover to successive versions.
- Displays a Notification Center item when it has finished.
- Set a Finder Label to Green x265, Red x264, Yellow x262, Orange mpeg4, Purple all others/ legacy formats eg. xvid, wmv, etc.
It shouldn't be a problem to have both your unsorted TV Shows and Movies in the same directory, but you run the risk mis-matching names. Best use is to have a separate location for movies and tv shows.