Using my very limited bash skills, I've cobbled together a pretty rudimentary but functional post processing script. It looks for video files and pumps them through handbrake and spits out h.264, iTunes compatible versions.
The rest is very manual.
I mount the linux box's file system on a particular mac. Then, on the mac, I have a script which looks for new (<3 days) .m4v files. Then I manually look for new ones, remembering where I left off, and drop them into Identify.app which taggs them. Finally, I drag them into iTunes. Only then can I watch the videos on AppleTVs or sync to iOS devices.
I'd very much like to automate the tagging and importing process. I have some thoughts, but there are some missing links and I'd be grateful for your suggestions on sorting them out.
First, there is the challenge of scripting the tagging. Identify.app is cumbersome and doesn't script well, despite the author's claims. If I pipe a file in via bash, it often crashes and when it doesn't, it fails to follow it's own prefs and won't automatically tag. Another mac app, ivi, will watch a folder and auto import, but it insists on re-converting, even in the pass through setting. The whole idea of using the linux box to do the conversion is that it won't chew up desktop processor resources (and it's a fast box).
I'm open to using atomic parsley, which seems perfectly suited for the job. However, I haven't seen any basic scripts for it and I hate to spend days learning and troubleshooting the syntax. Did I mention that I don't script well? Yeah...
So has anyone seen a good, basic tagging script for atomic parsley? Any suggestions on getting started with it?
Next is the import into iTunes. With the tagging done, I think that gets a lot easier. I could probably copy a sym link into the Automatically Add To iTunes folder in the library, either by mounting the Mac's file system on the linux box or vice versa. Any other thoughts there? Applescript perhaps?
Looking forward to your suggestions. Thanks all!