![]() ![]() |
Nov 10 2009, 11:23
Post
#1
|
|
![]() Moderator Group: Moderators Posts: 5524 Joined: 4-September 03 From: Germany Member No.: 201 Mp3tag Version: 2.55a |
Mp3tag v2.45 mandatory
How do I install the script? / Wie installiere ich das Script? imdb Tag movies or tv shows with mp4 container. Scripts: imdb#Search Movies Imported Tags:
## Scroll down for updates ## This post has been edited by dano: Oct 18 2010, 20:54 -------------------- |
|
|
|
Nov 10 2009, 17:40
Post
#2
|
|
![]() Member Group: Full Members Posts: 66 Joined: 11-October 07 From: Russia Member No.: 5762 Mp3tag Version: 2.50 |
Good news
Perhaps in the future will be possible to get info for all formats and save them in separate xml files? Excellent. |
|
|
|
Mar 31 2010, 17:17
Post
#3
|
|
|
Member Group: Full Members Posts: 69 Joined: 8-October 09 Member No.: 11061 Mp3tag Version: 2.48e |
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. CODE # Cert findline "USA:" 1 1 unspace if "USA:" movechar 4 outputto "iTunEXTC" replace "|" "" replace " " "" replace "USA:G" "mpaa@G@100@" replace "USA:PG-13" "mpaa@PG-13@300@" replace "USA:PG" "mpaa@PG@200@" replace "USA:R" "mpaa@R@400@" replace "USA:NC-17" "mpaa@NC-17@500@" replace "USA:Unrated" "mpaa@Unrated@???@" replace "USA:Approved" "mpaa@PG-13@300@" replace "USA:Passed" "mpaa@PG-13@300@" replace "USA:NotRated" "mpaa@Not Rated@000@" replace "USA:TV-MA" "us-tv@TV-MA@600@" replace "" "mpaa@Not Rated@000@" sayuntil "</a>" else outputto "iTunEXTC" say "mpaa@Not Rated@000@" findline "<html>" -1 endif 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 _FIELDNAME ITUNEXTC iTunEXTC This post has been edited by edrikk: Mar 31 2010, 17:17 |
|
|
|
Aug 31 2010, 22:54
Post
#4
|
|
|
Member Group: Full Members Posts: 69 Joined: 8-October 09 Member No.: 11061 Mp3tag Version: 2.48e |
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: %appdata%\Mp3tag\data\actions I recommend running the actions in this order (so place them in the actions dialog of MP3Tag in this order): 1) Find Bad Plist (in case the script screwed up, and the plist is broken) 2) Finish Setting Video Tags (copies information to other relevant tags 3) 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) - IMDB ID - IMDB Rating - Director ("/" delimited) - Producer ("/" delimited) - ReleaseDate - 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. - Description - Tagline - IMDB Keywords - iTunMOVI (which Apple TV etc uses), containing: * Studio * Screenwriters * Directors * Producers * Cast 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. - Click "Ok" Hope this helps people. <<EDIT: "Country" was a little finiky, so I removed it... Makes the script more stable overall...>> This post has been edited by edrikk: Sep 1 2010, 05:00
Attached File(s)
|
|
|
|
Oct 12 2010, 20:04
Post
#5
|
|
|
Member Group: Full Members Posts: 69 Joined: 8-October 09 Member No.: 11061 Mp3tag Version: 2.48e |
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] This post has been edited by edrikk: Oct 12 2010, 20:07
Attached File(s)
|
|
|
|
Oct 29 2010, 20:34
Post
#6
|
|
|
Member Group: Full Members Posts: 69 Joined: 8-October 09 Member No.: 11061 Mp3tag Version: 2.48e |
Updated to work with the field name changes introduced in version 2.46d of MP3Tag.
Will not work with versions earlier than 2.46d
Attached File(s)
|
|
|
|
Jan 30 2011, 15:26
Post
#7
|
|
|
Member Group: Full Members Posts: 69 Joined: 8-October 09 Member No.: 11061 Mp3tag Version: 2.48e |
A small update, and note:
Attached File(s)
|
|
|
|
Feb 1 2011, 19:20
Post
#8
|
|
|
Member Group: Full Members Posts: 69 Joined: 8-October 09 Member No.: 11061 Mp3tag Version: 2.48e |
Quick update.
Exactly the same as the previous item, just fixed the Apple Web Script to make it not "janky"...
Attached File(s)
|
|
|
|
May 26 2011, 03:56
Post
#9
|
|
|
Member Group: Full Members Posts: 69 Joined: 8-October 09 Member No.: 11061 Mp3tag Version: 2.48e |
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:
[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] This post has been edited by edrikk: May 26 2011, 14:52
Attached File(s)
|
|
|
|
Jan 6 2012, 20:51
Post
#10
|
|
|
Member Group: Full Members Posts: 69 Joined: 8-October 09 Member No.: 11061 Mp3tag Version: 2.48e |
A small update...
Addition:
Attached File(s)
|
|
|
|
Apr 24 2012, 19:17
Post
#11
|
|
|
Member Group: Full Members Posts: 69 Joined: 8-October 09 Member No.: 11061 Mp3tag Version: 2.48e |
A few changes - Note that version 2.50 is required to run the script:
PS. If you've tagged old videos using previous version, simply running the Actions on the files again will update the relevant tags. This post has been edited by edrikk: Apr 24 2012, 19:18
Attached File(s)
|
|
|
|
Oct 21 2012, 14:54
Post
#12
|
|
|
Member Group: Members Posts: 1 Joined: 17-April 05 Member No.: 1734 Mp3tag Version: 2.30 |
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". <snipped instructions> Thanks for this script, maybe I can test them out on some of my mistagged for trakt TV shows on my XBMC TV-Show playlist.... |
|
|
|
Dec 11 2012, 17:14
Post
#13
|
|
|
Member Group: Full Members Posts: 69 Joined: 8-October 09 Member No.: 11061 Mp3tag Version: 2.48e |
Update to IMDB scraper due to IMDB page re-designs.
Attached File(s)
|
|
|
|
Jan 4 2013, 09:46
Post
#14
|
|
|
Member Group: Members Posts: 1 Joined: 1-January 13 Member No.: 17365 Mp3tag Version: 2.53 |
Edrikk,
This is a very nice script, thanks for your work keeping it well maintained. Your work has inspired me to build my own revision based heavily on your design. I have included my script in this post so that you may take from it any features you like. I added a new column in the search results window that displays the type of result. (Movie, TV Show, Game etc.) I've also added several tags as well as image scraping/tagging to this script. Thanks again for all your work on this script, I hope you find my additions as useful as I've found your script. CyberDemon
Attached File(s)
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 10:18 |