In case anyone is interested, the following (when added to end of the Movie script) should get you the MPAA Certification (which will show up in iTunes).
Please note that because (as far as I can tell) the scripting language does not support writing the pipe ("|") symbol (can't even be escaped to get it in), you have to run an action after the fact to replace the "@" symbol with an "|" for iTunEXTC.
Also, I think iTunes may have some problems with the fact that MP3Tag writes the iTunEXTC tag in all upper case... So I have created (as part of the "@" to "|" Action) a rule that properly re-writes the tag:
Replace with regular Expression
I have attached an updated IMDB web source script for IMDB, which meets my needs for "all the metadata that I can get"...
In addition, I have attached 3 Actions which should be run on the file(s) in question, AFTER the web script has been run to complete the "work".
Download the web script
Place the script in: %appdata%\mp3tag\data\sources
Download the 3 action files "Finish Setting Video Tags.mta" and "Fix Tag Case (iTunEXTC, etc).mta" and "Find bad plist.mta"
Copy the files to directory:
I recommend running the actions in this order (so place them in the actions dialog of MP3Tag in this order):
Find Bad Plist (in case the script screwed up, and the plist is broken)
Finish Setting Video Tags (copies information to other relevant tags
Fix Tag Case (so for example, ITUNEXTC becomes iTunEXTC)
The web script as it stands pull and populates/stores the following data in your mp4 file:
Artists ("/" delimited)
Genre (the first non-"Drama". If only "Drama" exists, use it)
Composer (i.e. writters, "/" delimited)
Director ("/" delimited)
Producer ("/" delimited)
MPAA Rating and REASON (stored in iTunEXTC. Reason is not used anywhere yet AFAIK).
If rating is "USA:NC-17", then the itunes "Advisory" tag is also set.
iTunMOVI (which Apple TV etc uses), containing:
Given a couple of limitations/bugs in mp3tag, you have then then create and run the following action on the file AFTER running the web script:
Right click on the file you just ran the script on, and select: "Convert" and then "Actions"
Make sure only "Finish Setting Video Tags" and "Fix Tag Case (iTunEXTC, etc)" and "Find bad plist" have their checkboxes "checked", and are in the order that I originally mentioned at the top of this post.
Hope this helps people.
<<EDIT: "Country" was a little finiky, so I removed it... Makes the script more stable overall...>>
I have updated the script to correct an issue with updated IMDB format (for example, previously you could type in the ttXXXXXX number from IMDB into the search box, but the IMDB changes broke that... This has been corrected.
Also, I have added an action which you may or may not want to use... This action ("Set iTunesHD") sets the iTunes HD flag, if the file size is greater than 1400 MB. That's the only check, as that's all the MP3Tag provides... So yes, even a non-HD video could be tagged as HD. Use if you are fine with that, ignore that action if you don't like it...
[EDIT: Note that you need version 2.46c or newer for this version (unless you don't use the HD action]
You might notice that the script sometimes gives errors when you search IMDB by name, and if the name is a direct hit. In this case, I recommend that you simply enter the IMDB ID in the search box (easiest way to find the IMDB ID is to "ttXXXXXX" part of the IMDB URL of the video.
I have modified the actions so that the ALBUMARTIST is now the first artist listed in IMDB. Previously, the same value as the ARTIST tag was used (full list).
I have included an extra Web Source which uses the Apple Web Services to retrieve the CATALOGID tag. This is a bit "janky" at the moment, so use your judment to ensure it is the correct one. To help in ensuring the number is the correct one, the name of the video from the source is also returned.
Updated for version 2.48e.
Please note that for some of the tags to work "properly" (e.g. Rate, Keyword), version 2.48e or higher of mp3tag must be used.
Additions / Changes:
Using the new "_video_width" property to set iTunesHD flag if the width is greater or equal to 1280. Previously (without this attribute being present), the file size was used to set the flag (as a guess, which could easily be incorrect).
The new "Rate" tag is set based on the IMDB Rating. This value is out of "100" so if the imdb rating is "8.2/10" the value will be "82"
The new "Kewords" tag is set to the keywords found in IMDB
[Edit] As an FYI, as mentioned in previous threads, I find that using the IMDB ID as the search criteria is the most fail proof means of using the script. [/edit]
Hoping that someone can help with this enquiry
I have used the scripts successfully in the current version of MP3tag however I am trying to work out how to extend the number of characters in the Plot/Description field.
If you look at the source code of the page then you find that the plot description does not exist in more detail on that page but links to a separate page... so unless you find a way to open that separate page, you are stuck with the short description.