Automatically create and add AppleTV-compatible movies to iTunes

My Mac mini died and because necessity is the mother of invention, I created an app to convert movies to Apple TV format and then add them to iTunes.

This droplet works thanks to the magic of HandBrake’s command-line utility HandBrakeCLI. Simply drag any movie and drop it on ToATV and HandBrake will convert it to a format compatible with the AppleTV 2 and then add it to iTunes. The output movie is added to iTunes by being dropped in: ~/Music/Automatically Add to iTunes so it will not be moved if iTunes isn’t running — it will get added to the library when iTunes starts again.

The only pre-requisite is that you have HandBrakeCLI installed in: /usr/local/binI am using Snow Leopard 10.6.6 and iTunes 10.1, so let’s pretend like those are the minimum requirements.

Go to the Downloads section to grab a copy of ToATV 0.1.

If you want to further automate things, you can create a Folder Action that will watch for files of a specific type in a given folder. When those files are added to the folder, the Folder Action can be configured to open them with ToATV. If you’re interested in seeing my Folder Action, I’m happy to post it. I’m still trying to tweak a few things so it’s not really ready for “prime time.”


Leave a Reply