Hazel & Applescript & Handbrake

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Hazel & Applescript & Handbrake Sat Jun 22, 2013 8:39 am • by rgarcia1801
Hello there,

I have been using hazel for a few months and I believe is a great tool. As many of you, I am trying to automate my download/conversion process utilizing the super-power of Hazel/Applescript/Handbrake. I have seen many scripts out there but unfortunately, I haven't been able to make them work.

My setup is simple.
Download movie - Folder - Convert it - Place it in iTunes - Delete Source.

Is there anything simple out there to accomplish this?

Thanks in advanced.
rgarcia1801
 
Posts: 1
Joined: Sun May 12, 2013 4:27 pm

Re: Hazel & Applescript & Handbrake Mon Jun 24, 2013 1:27 pm • by Mr_Noodle
Try searching the forums as I believe there have been a few scripts posted here already.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Hazel & Applescript & Handbrake Mon Jun 24, 2013 3:05 pm • by sjk
rgarcia1801 wrote:I have seen many scripts out there but unfortunately, I haven't been able to make them work.

Someone might have specific help to offer if you mention which you've tried and details about what didn't work.
sjk
 
Posts: 332
Joined: Thu Aug 02, 2007 5:43 pm
Location: Eugene

Re: Hazel & Applescript & Handbrake Wed Jun 26, 2013 9:55 pm • by Gigamesh
rgarcia1801 wrote:
My setup is simple.
Download movie - Folder - Convert it - Place it in iTunes - Delete Source.

Is there anything simple out there to accomplish this?

Thanks in advanced.


Conversion is easy if you use Handbrake CLI. There are several scripts on the forum already.

I convert the movie in the folder I store them and it is placed there by Couch Potato or SickBeard. If you are moving from a specific folder, just add a simple move rule to that folder.

To add it to iTunes, I actually use iDentify. With the iDentify settings set to process automatically, add to iTunes and close when finished, this is all done with one rule which is simply to just open the file in iDentify. iDentify does crash when multiple files are added in quick succession. To get around this, just throw in the script
Code: Select all
tell application "iDentify"
delay 20
end tell


This just delays the addition of the next file to lookup.
Gigamesh
 
Posts: 4
Joined: Sun Jun 02, 2013 5:55 pm


Return to Open Discussion