How To: Modify AMC's IMDB script to put Certification in the custom Certification field

Discussion in 'My Films' started by doveman, June 14, 2012.

  1. doveman

    doveman Portal Pro

    February 12, 2008
    Likes Received:
    +182 / 3
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    For anyone like myself who uses both MyFilms/AMCU and AMC at different times and would like AMC's IMDB script to put the Certification in the custom Certification field (to match AMCU), it's a very simple modification to the script.

    Look for the section
    Code (Text):
    1.         if GetOption('Classification') = 1 then
    2. SetField(fieldMediaType, Value)
    and change the second line to
    Code (Text):
    1. SetCustomField('Certification', Value)
    Note that you need to set the Classification option to 1 for it to use this.
    • Like Like x 4

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.


  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!