This guide is provided to help you setup your Media Center Master to automatically inject metadata in your media and add your Movie and TV Shows to iTunes (and if required automatically convert them to iTunes compatible format).
Below you will find a new script I have developed that will do the following;
1. Check if the media is iTunes compatible - m4v or mp4 and if not will convert it to m4v and rename the original media file to title.bak.
2. Inject metadata found in the same folder as the media file - movie.xml, title.nfo - if movie and the title.xml or title.nfo are looked for if tv episode. Additionally if folder.jpg is available, this will also be injected. So when completed the following metadata is added - Title, Cover, the Year of release (for movies) or the air date (for tv episodes), Short & Long Description/Synopsis, and for TV Episodes, you will also have the season number and episode number.
3. Add the new compatible (metadata embedded) file to iTunes.
Ok now for the good stuff - setting it all up. You will need the following free tools;
1. HandbrakeCLI for windows -
http://handbrake.fr/downloads2.php (to convert to m4v)
2. AtomicParsley for Windows -
https://bitbucket.org/jonhedgerows/atomicparsley/downloads (to inject the metadata directly)
3. AddToiTunes.vbs & AddToiTunes.cmd -
https://docs.google.com/open?id=0B3Vplp587xeic1h1SjVJeUNrWGMSave all files - AddToiTunes.vbs, AddToiTunes.cmd, HandbrakeCLI.exe & AtomicParsley.exe to the MCM folder (C:\Program Files (x86)\Media Center Master - for x64 or C:\Program Files\Media Center Master for x86)
If you are running x86, then you will need to update the AddToiTunes.vbs file. Open the file and search for;
Code:
' change this to suit where the tools are installed
toolsPath = "C:\Program Files (x86)\Media Center Master\"
and replace with
Code:
' change this to suit where the tools are installed
toolsPath = "C:\Program Files\Media Center Master\"
Once you have these 3 files, you will need to configure MCM to use them. Open MCM and configure the post-processing configuration as seen in the image below.
To make life easier you can copy and past the details from here:
Code:
Enable movie post-processing
C:\Program Files (x86)\Media Center Master\addToItunes.cmd
%V %S %T %Y
Code:
Enable TV episode post-processing
C:\Program Files (x86)\Media Center Master\addToItunes.cmd
%V %S %T %AD %ET %SE %EP %SE2 %EP2
Attachment:
mcmpostprocessingcfg.jpg [ 97.77 KiB | Viewed 15246 times ]
Ok MCM will now automatically process all new media with this post-processing script and add you media to itunes.
Now if you are like me you will want to have a single copy of your media library right? right! Did you know iTunes by default will import all media into the iTunes media folder - thus duplicating your media. If you want to use links to your library location rather than importing (duplicating) the media then simple turn off the "Copy files to iTunes Media folder when adding to library" option in iTunes - see image below.

That's it! your done. Enjoy your media library now also available in iTunes
Tip!: If you want to add media that you already have in your library, simply selection a title and right click and select "
Run post-processing"

I have tested this script with over 300 files successfully, however there still may be some bugs that need to be addressed. Please report any issues in this thread.
Enjoy!