
Background:
I tried to follow this post (viewtopic.php?f=3&t=874) but its not the greatest walkthrough to setup. so i decided to use most of the programs listed there to download tv shows. I'm using TV Shows v2, Transmission v2.75, Hazel v3.0.16 (obviously), Handbrake CLI v0.9.8, FileBot v3.2, iFlicks v1.4.6
Ideal Workflow
I would like to have TV Shows app send new episodes to Transmission (this works fine). Transmission sends my completed downloads to a folder named "TV Shows." I want Hazel to search that folder for new movie files including file within subfolders and send them to Handbrake to process for my AppleTV format (m4v). Then I'd like Hazel to properly name the file via FileBot and finally pass that file through iFlicks which will ultimately sends it to iTunes. Finally, I'd like Hazel to clean up the old files in the "TV Shows" folder.
My Current Workflow
TV Shows
- Run in Subfolders (Works, but Hazel log constantly running)
• If <all> conditions met for <the file or folder being matched>
<Kind> is <Folder> & <Date> is after <Date Last Modified>
• Do the following
<Run rules on folder contents>
- Move files to processing (This works as expected)
• If <any> conditions met for <the file or folder being matched>
<Kind> is <Movie> & <Extension> is <mkv>
• Do the following
<Move> to folder <Processing/1.0 TV Shows - Handbrake>
- Delete empty folders (Rule never triggers)
• If <all> conditions met for <all of its sub-files and folders>
<Kind> is <Folder> & <Date Added> is not in the last <10 minutes>
• Do the following
<Move> to folder <Trash>
1.0 TV Shows - Handbrake
- Run Handbrake CLI (Works, but not moving files)
• If <all> conditions met for <the file or folder being matched>
<Date Added> is after <Date Last Matched> & <Extension> is not <m4v>
• Do the following
<Run AppleScript> viewtopic.php?p=3447#p3447
<Move> to folder <Processing/2.0 TV Shows - Rename>
2.0 TV Shows - Rename
- Rename FileBot (The workflow never gets to this point)
• If <all> conditions met for <the file or folder being matched>
<Date Added> is after <Date Last Matched>
• Do the following
<Run shell script> <filebot -rename "$1" --format "{n}-{s00e00}-{t}" --db thetvdb -non-strict>
<Move> to folder <Processing/3.0 TV Shows - iFlicks>
3.0 TV Shows - iFlicks
- iFlicks metadata + transfer (The workflow never gets to this point)
- Code: Select all
tell application "iFlicks" to launch
delay 7
tell application "iFlicks"
import theFile without gui
delay 300
tell application "iFlicks" to quit
end tell
• If <all> conditions met for <the file or folder being matched>
<Date Added> is after <Date Last Matched>
• Do the following
<Run AppleScript>
My Problems
- 1.) In the "TV Shows" folder, the preview show me that after files are moved the remaning empty folders (which i want to delete is stuck on the "Run in subfolders" rule and never makes it to the "Delete empty folders" rule.
- 2.) In the "1.0 TV Shows - Handbrake" folder, the preview show me that my rules are being met as i expected, but the log keeps giving me an error.
2012-12-21 01:05:34.566 hazelworker[74334] Another hazelworker process is processing folder (null). Exiting.
- 3.) In the "2.0 TV Shows - Rename" folder, although the workflow doesn't make it to this point i tried this manually and it seemed to work fine.
- 4.) In the "3.0 TV Shows - iFlicks" folder, although the workflow doesn't make it to this point i tried this manually and it seemed to work, except that i tried to add a delay to quit the application which doesn't seem to work.