I don't know the first thing about code or creating scripts. So I am hoping there may be something similar or a kind soul looking for some good karma who can help. I searched around a bit but didn't find something that would quite do what I was hoping to accomplish.
SITUATION: SABnzbd downloads MKV and AVI files and unarchives them, and I am left to manually transcode and tag for AppleTV.
GOAL:
1) Feed the video AVI or MKV that SAB unarchives to the HandBrakeCLI with the AppleTV preset.
./HandBrakeCLI -i [SAB avi/mkv file] -o ~/Movies/[SAB avi/mkv file].mp4 --preset="AppleTV"
2) Now for tagging and injection into iTunes.
Today I use iDentify[.app] which automatically tags, adds cover art and injects it into iTunes and hence is then available on the AppleTV; maybe Atomic Parsley would be easier from a scripting perspective?
3) Clean up: If the conversion finished, delete the folder containing unarchived files from the SAB unarchive process.
4) Fire off an email that [SAB avi/mkv file] has been converted for AppleTV and is now available in your library to [email protected].
I hope this isn't anything difficult, and I most certainly would appreciate help.
Thanks!
For purposes of discussion:
my username is Jon
Movies folder would be: Macintosh HD/Users/Jon/Movies/ OR ~/Movies
Handbrake is in the Applications folder: Macintosh/Applications/HandBrakeCLI
Sabnzbd can be set to any folder for downloads, for now assume: Macintosh HD/Users/Jon/Downloads/SAB/ OR ~/Downloads/SAB/
Help scipting Video files -> HandBrakeCLI -> Tag/Cover Art -> iTunes
-
- Full Member
- Posts: 146
- Joined: January 21st, 2010, 5:36 pm
Help scipting Video files -> HandBrakeCLI -> Tag/Cover Art -> iTunes
Last edited by randyharris on January 27th, 2010, 5:10 pm, edited 1 time in total.
-
- Jr. Member
- Posts: 59
- Joined: March 2nd, 2009, 10:58 am
- Contact:
Re: Help scipting Video files -> HandBrakeCLI -> Tag/Cover Art -> iTunes
Check this script I wrote http://forums.sabnzbd.org/http://forums ... 175#p25175
It converts to iPhone format but changing one line will convert to AppleTV.
Adding to it to do the rest of what you want should be easy...
It converts to iPhone format but changing one line will convert to AppleTV.
Adding to it to do the rest of what you want should be easy...
-
- Full Member
- Posts: 146
- Joined: January 21st, 2010, 5:36 pm
Re: Help scipting Video files -> HandBrakeCLI -> Tag/Cover Art -> iTunes
Thanks, I actually just found that minutes ago.imthenachoman wrote: Check this script I wrote http://forums.sabnzbd.org/http://forums ... 175#p25175
It converts to iPhone format but changing one line will convert to AppleTV.
Adding to it to do the rest of what you want should be easy...
Could you help me have HandBrakeCLI output the file to my ~/Movies directory ? I can't figure how to add that bit.
-
- Jr. Member
- Posts: 59
- Joined: March 2nd, 2009, 10:58 am
- Contact: