Current Setup
Here are four prior rules before my "Krypton" rule.

To open up any torrent file downloaded to the desktop.

Auto-delete extra unnecessary files that often come with the tv show or movies.

Rule to look into the subfolders.

TV Show downloads into the Downloads folder. Example: Krypton.S01E01.720p.mkv in a subfolder. Hazel looks and then moves Krypton.S01E01.720p.mkv into already existing Krypton folder in users/TV Shows/Krypton folder then shell script below is ran to rename the file to "Krypton S01E01.mkv".
- Code: Select all
/usr/local/bin/tvnamer --batch "$1"
The Dilemma
This setup works. But the only problem is for each TV Show I have to create a separate rule and folder before it starts downloading. Like the one above. I keep thinking there has to be a better way.
The Goal
Is there a way to condense and/or make it so I don't have to create a rule and folder prior for each TV show?
Example the following episodes download simultaneously into my local Downloads folder.
Krypton.S01E01.720p.mkv
The.Flash.S02E04.mkv
Hazel checks and see's there is no "Krypton" folder so it creates one and then the shell script of TVNamer runs. All other files if any that downloaded in the Krypton.S01E01.720p folder are then moved to the Trash.
The.Flash.S02E04.mkv already has a folder so it is moved there, then TVNamer kicks in.
I am thinking this has to do with name matches and custom tokens but I don't know where to start with that. Any and all help is greatly appreciated!
Thank you!