IMDb+ Plugin 2.1.0.291 with IMDb+ Scraper v4.9.xxx (9 Viewers)

KJ-Cox

Design Group
  • Team MediaPortal
  • September 12, 2009
    256
    376
    Brisbane
    Home Country
    Australia Australia
    The scraper update now fetches the required information to update all the available values from TMDB. Now I am going to try to get some of the other functionality to work like before. Once this is finished IMDB+ wil work again. I may even be able to push an update for the XML automatically. I know it can do it, I'll have to review the code to see how that auto update thing works.
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    256
    376
    Brisbane
    Home Country
    Australia Australia
    Thinking of adding a selection so that you can switch beween Roman numerals to Arabic numbers for movie series.

    Mission: Impossible 7: Dead Reckoning Part One
    Predator 6: Badlands

    Mission: Impossible VII: Dead Reckoning Part One
    Predator VI: Badlands
     

    fredco

    MP Donator
  • Premium Supporter
  • November 13, 2010
    160
    46
    Home Country
    Netherlands Netherlands
    Nice touch! But please, keep the Roman numerals. At least optional, because my whole library is Roman and I am very used to it. Can't wait to try your work!
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    256
    376
    Brisbane
    Home Country
    Australia Australia

    Advanced Movie Title Renaming Script (Collections + Smart Titles)​

    I’ve been working on a custom scraper rename system for Moving Pictures that significantly improves how movie titles, sort titles, and collections are generated automatically. This uses the existing IMDB+ plugin, but the scraper is a complete rewrite and no longer uses IMDb.

    What it does:
    • Automatically builds clean titles using TMDB collections
    • Adds Roman numerals based on release order
    • Generates proper sort titles (e.g. Fast and Furious 01)
    • Cleans up messy subtitles and duplicates
    • Removes:
      • “The Movie”
      • “Part X”
      • duplicate franchise names
      • trailing duplicate titles
    • Handles edge cases like:
      • Star Wars episode ordering
      • Batman / DC shared universes
      • Tron / ALL CAPS franchises
      • [REC] superscripts (² ³ → 2 3)
    • Smart duplicate removal:
      • Mall Cop I: Paul Blart: Mall Cop → Mall Cop I: Paul Blart
      • [REC] II: [REC] 2 → [REC] II
    • Cleans collection names:
      • Removes "Collection"
      • Removes leading "The"
    • Rename XML change:
      • XML used to override
      • Fallback to Auto mode to rename the movie
    • Poster and Backdrop:
      • Faster image loading using TMDb
    Key benefit:
    Fully automated clean library naming without manual XML overrides. You can still use the XML overrides, but you no longer need to rely on them and new movies just work 95% of the time. That makes the override file much smaller.
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,758
    1,250
    Alingsås
    Home Country
    Sweden Sweden

    Advanced Movie Title Renaming Script (Collections + Smart Titles)​

    I’ve been working on a custom scraper rename system for Moving Pictures that significantly improves how movie titles, sort titles, and collections are generated automatically. This uses the existing IMDB+ plugin, but the scraper is a complete rewrite and no longer uses IMDb.
    This is very cool. Will this be released as a new plugin?
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    256
    376
    Brisbane
    Home Country
    Australia Australia
    This is very cool. Will this be released as a new plugin?
    I've just been writing it as an XML scraper for use within MovingPictures, so was just going to update the IMDB+ plugin to work with TMDb. I really just wanted to get that plugin working, then I ended up taking this too far. My plan was to just to push an update to IMDB+ one it's stable and existing users should get that update once that happens.
     

    fredco

    MP Donator
  • Premium Supporter
  • November 13, 2010
    160
    46
    Home Country
    Netherlands Netherlands
    @KJ-Cox:

    Ok, will you give a heads-up when this has been done? Great!
    What do you mean by the "override" file? Is this the custom IMDb+ scraper XML file? I have used this a lot in the past.
     

    KJ-Cox

    Design Group
  • Team MediaPortal
  • September 12, 2009
    256
    376
    Brisbane
    Home Country
    Australia Australia
    @KJ-Cox:

    Ok, will you give a heads-up when this has been done? Great!
    What do you mean by the "override" file? Is this the custom IMDb+ scraper XML file? I have used this a lot in the past.
    Once I finish the scraper and it's production ready I will push the update with the help of @ajs and let you know.

    When I talk about override files I mean the xml files. Currently there are these rename files that need to be used:
    Rename dBase IMDb+ Scraper (Custom).xml
    Rename dBase IMDb+ Scraper.xml

    However, somehow the main dBase scraper has continued to recieve "some" updates so I think I'll keep it as an example file and create a new one as my cut down default instead. Maybe I'll call it:
    Rename dBase IMDb+ Scraper (Base).xml

    Currently the Base XML only has these requried values:
    XML:
    <rename id="tt0120915" sortby="Star Wars 01" />
    <rename id="tt0121765" sortby="Star Wars 02" />
    <rename id="tt0121766" sortby="Star Wars 03" />
    <rename id="tt0076759" sortby="Star Wars 04" />
    <rename id="tt0080684" sortby="Star Wars 05" />
    <rename id="tt0086190" sortby="Star Wars 06" />

    This advanced scraper will work in priority order of Custom XML > Base XML > AUTO.
    title, sortby, collection, will be found for the selected movie and combined to make up the required parts.
    You can change one or all three values and the scraper will use what you provide.

    Ideally AUTO would be used, but where required the rename overides are used, for instance Star Wars sortby.
    Otherwise the movie order would be out, as AUTO works on a release date order.

    You can however just do a complete override and the scraper will use those values instead.

    As an English only speaking person I do not care to add the extra language functionality, although easy enough to do would take up more of my time.

    Some options are redundant now and unused. Here is the list of options I have retained.

    XML:
    <!-- ### OPTIONS ### -->                                        <!--       TRUE         |         FALSE         -->
    <set name="global_options_original_title" value="false" />      <!-- Original Title     | Always English Title  -->
    <set name="global_options_long_summary" value="true" />         <!-- Long summary       | Short summary         -->
    <set name="global_options_special_edition" value="true" />      <!-- Modify title       | Keep title as-is      -->
    <set name="global_options_one_writer_director" value="false" /> <!-- Only use one name  | Get all the names     -->
    <set name="global_options_rename_titles" value="true" />        <!-- Rename titles      | Keep title as-is      -->
    <set name="global_options_remove_first_roman" value="false" />  <!-- Remove 'I' numeral | Rename title as-is    -->
    <set name="global_options_refresh_all_fields" value="true" />   <!-- Update All Fields  | Update A Few + Empty  -->
    <set name="global_options_debug_imdb_sources" value="false" />  <!-- Log HTML sources   | Not needed normally   -->
    <!--
        There is now expanded support for other English based rating system
            01 = USA
            09 = Australia
    -->
    <set name="global_options_english_movie_rating" value="01" />
     

    fredco

    MP Donator
  • Premium Supporter
  • November 13, 2010
    160
    46
    Home Country
    Netherlands Netherlands
    Sounds very good! I am curious how the AUTO function will work with some of my more obscure movies and concerts... I have customized my custom scraper XML especially for this. By now it has a lot of entries just for me personally.
    As a non-English speaker (Dutch) I have no wish whatsoever for Dutch titles or text. So for me, English is what I want so don't bother for me.
    Since we are active in this thread I have renamed ALL my movie folders like this:

    The Fantastic Four - First Steps tt10676052 (2025)

    In this folder I have the Blu-Ray structure of the movie. And made a corresponding entry in the custom XML if needed:

    <rename id="tt10676052" title="Fantastic Four (Reboot) II: First Steps" sortby="Fantastic Four 4" />
     

    Users who are viewing this thread

    Top Bottom