IMDb+ plugin second edition (2 Viewers)

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    Thank you very much for the scraper, forcing Finnish titles was driving me absolutely nuts.

    :D :D

    I originally made this scraper to add RottenTomatoes ratings to the imdb.com one, so it was named imdb+RT. But when imdb.com changed their website to show original and translated titles it drove me insane and then ended up finding a working solution. At that moment I also added options and other features, so renamed the scraper to IMDb+ with the '+' indicating it does much more.

    As for your floating problem, that will hopefully be solved in next MovingPictures version. Since the release has been prosponed a few times already, I might end up adding some sort of test routine inside the scraper script, because when adding 4.5 and 4.4, the correct result should be 8.9, but on a system with the floating problem the result becomes 89.0 which screws up the results.

    MPEI Package

    The first MPEI pagkage to install the IMDb+ plugin is now done and can be obtained from the IMDb+ Google Code project download page.

    This new plugin is meant for IMDb+ scraper v3.3.0, but it "should" also work for the v3.2.5 one. I'm working hard to wrap up v3.3.0 right now and will release it hopefully later today or tomorrow. Just a few more tests to run to make sure I didn't break anything. I planned to add even more functionality, but now that MPEI package is done, those will end up in scraper v3.3.1+ then.

    I'll be glad when the auto-update system is done, so that it will be very easy to stay up-to-date on any improvements or fixes.

    The new plugin looks like this now (colors might be different for you, as I modified my DefaultWide skin):

    Plugin.IMDb+.jpg

    This new layout will allow for many more future options without running out of room :mad: to show them. This will make it easier for the few 4:3 users out there as well, and hopefully an update will be made soon for the other skins that already added support for the plugin (aMPed, Black Glass, StreamedMP).

    Enjoy.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    • Thread starter
    • Moderator
    • #2
    Re: IMDb+ Scraper - Movie Scraping on Steroids v3.3.0

    IMDb+ v3.3.0 is now available for your enjoyment.

    Fixed a lot of stuff and added a lot of new features. I did not get around to add everything I wanted yet, but with the MPEI package now released for the IMDb+ Plugin, it was needed to get this scraper version out quickly.

    Of course right as I release it, a developer from down under who will rename nameless ;) pointed out that the tagline is not sanitized on HTML characters, so will be releasing v3.3.1 soon to fix that.

    But please test v3.3.0 as much as possible, so that I can also fix any other issue at the same time.
     

    jasonwc

    Portal Pro
    July 4, 2009
    83
    4
    Home Country
    United States of America United States of America
    Re: IMDb+ Scraper - Movie Scraping on Steroids v3.3.0

    I installed the new MPEI pakcage for the IMDB+ plugin as well as the 3.2.5 scraper. However, I seem to be unable to change the scraper's default settings. The text for each button is cut off on the latest build of StreamedMP so I used BlueWide for my testing (I'm on 1.2.0 final with the latest StreamedMP package - verified yesterday). I enabled Single Score w/ only IMDB score checked, enabled movie grouping, and also selected the option to show the foreign title in parens after the english title. The settings seem to have taken as they show up in the IMDB+ settings page, but when I run an import I get the default behavior (english title w/ no foreign title in parens, no movie grouping, averaged score).

    I cleared all my movies before adding the IMDB+ 3.2.5 scraper, and did so again after setting the IMDB+ settings to my liking. However, I was never able to get the settings to take. I really want to get movie grouping working. Any idea what I'm doing wrong? I'll try updating to the 3.3.0 scraper tonight.

    EDIT: I think the grouping issue might be my fault. I thought the instruction to extract to C:\ was simply to resolve potential UAC issues. Since I have UAC disabled, I skipped that step. However, it appears from your description of the grouping function that IMDB+ looks for the list of grouped moves on C:. I"ll try extracting as suggested and try again.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    Re: IMDb+ Scraper - Movie Scraping on Steroids v3.3.0

    StreamedMP support can be found here until next release.
     

    Attachments

    • IMDb+.xml
      4.3 KB

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    • Thread starter
    • Moderator
    • #5
    Re: IMDb+ Scraper - Movie Scraping on Steroids v3.3.0

    I installed the new MPEI pakcage for the IMDB+ plugin as well as the 3.2.5 scraper.

    Thankfully ltfearme comes to the rescue again and released StreamedMP skin update. He also helped me make some changes to the plugin (fix my mistakes hehehe), so I'll release a new MPEI package soon. Trying to get a few more things in there as well, to limit the amount of times people have to update (as I'm sure that gets irritating, but at least it is a pretty smooth process via the MPEI package now).

    The plugin was made to support all the new options for the v3.3.0 scraper. It should have worked to edit the options for v3.2.5 scraper, but after I looked again at the code, it looks like it would cripple the v3.2.5 scraper options, so it would fallback on internal defaults which do not enable the rename/grouping system.

    So please upgrade the scraper script to v3.3.0, and all should be good again.

    I can't wait for the auto-update (and initial install) code to be done, so I can make the install instructions extremly simply by just having a user run the MPEI package. This will then install the plugin, and the new plugin will then install/update the scraper automatic (check for updates like every 24 hours).

    So :sorry: for all the manual actions required, but the payoff is worth it :D
     

    jasonwc

    Portal Pro
    July 4, 2009
    83
    4
    Home Country
    United States of America United States of America
    Re: IMDb+ Scraper - Movie Scraping on Steroids v3.3.0

    Thanks RoChess! As soon as I replaced 3.2.5 with 3.3.0 all my problems went away. I have been wanting English titles and grouping for a while. It always annoyed me that I couldn't find certain titles where I expected them because they were named inconsistently, and I've never understood why movies in the same series weren't sorted accordingly.Now both those issues are resolved. Your scaper also fixed the annoying "IMDB -" naming issue that caused me to post in the first place.

    :D:)
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    • Thread starter
    • Moderator
    • #7
    Re: IMDb+ Scraper - Movie Scraping on Steroids v3.3.0

    Thanks RoChess! As soon as I replaced 3.2.5 with 3.3.0 all my problems went away. I have been wanting English titles and grouping for a while. It always annoyed me that I couldn't find certain titles where I expected them because they were named inconsistently, and I've never understood why movies in the same series weren't sorted accordingly.Now both those issues are resolved. Your scaper also fixed the annoying "IMDB -" naming issue that caused me to post in the first place.

    :D:)

    Yeah, before I even made this scraper I had roughly 40 custom categories setup to group series together.

    Main menu category would be "Movie Series", and then I would have all the actual series in categories as sub-menu inside of it. Because all of my filenames contain a reference to the series, I could simply add a category "James Bond" with the following filter: "Full Path" + "contains" + "James Bond".

    Sorting the category on 'year' then gave me a workable result.

    For some files that didn't contain the series name, I would just 'add' those manually to a category. This was also for some specific categories that had no common reference in the filename, for example the "X-Mas Movies" category that I put together, which comes in handy near the end of the year, or the "Halloween Marathon" category to make it easier during this month to pick a good scary movie. The last one is actually an automatic generated one, based on Horror genre + a minimal score of 6.0 and popularity count of 40000+.

    But eventhough I still have the movie series categories, I hardly use them anymore now that the series grouping works as well as it does. Opening up 'All Movies' and SMS-style entering 2+6+6+3 gets me all the James Bond movies in correct order quicker then navigation all those custom categories and adjusting 'year' sort order did before, etc. Though I must admit, I hardly use "All Movies", but rely more on "Unwatched", "Recently Added" and the custom "Blockbusters" I use (simple filter on 40000+ popularity votes with 6.0+ rating)
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    • Thread starter
    • Moderator
    • #8
    Re: IMDb+ Scraper - Movie Scraping on Steroids v3.3.0

    Nice work btw, using now so thought i'd stop by and say :D

    Thank you, really looking forward to later today (or tomorow in worst case) for the big milestone release with auto-update system. But I'm beat now, so going to watch a few of my TV shows and then take a little nap :)
     

    zicoz

    MP Donator
  • Premium Supporter
  • September 3, 2006
    896
    63
    Home Country
    Norway Norway
    Re: IMDb+ Scraper - Movie Scraping on Steroids v3.3.0

    •MPEI package will create a shortcut to the "(MediaPortal Data Folder)\IMDb+\Rename dBase IMDb+ Scraper (Custom).xml" file (on desktop or inside start menu, haven't decided yet),

    My vote is to have this in the start menu since I like to have the desktop 100% clean on my HTPC.
     

    RoChess

    Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    • Thread starter
    • Moderator
    • #10
    Re: IMDb+ Scraper - Movie Scraping on Steroids v3.3.0

    IMDb+ plugin with automatic install and update of IMDb+ scraper script is official :D:D:D:D

    Grab it from the Google Code project site 'Downloads' tab.

    You still have to get the MPEI package manually, but I've published it, so hopefully it will get approved soon, so that it will show up in the MPEI list of available plugins.

    And no matter how many test scenarios I have already tested, I'm sure some of you will find a ton of bugs. So please report them to me and do not forget to include the IMDb+.log file, as it will assist me in finding out what happened. An exact description of the steps you took that lead up to the problem are also invaluable.

    The hidden menu on the left side is only present in the DefaultWide skin for now. I did not get around yet to put that into the 'Default' skin, but fear not, I will get to that as I once was a 4:3 user as well. The same goes for the aMPed, Black Glass, and StreamedMP skins that already had early support for the IMDb+ plugin, it will take a little while before they can integrate the new skin changes to show the new hidden menu.

    Right now there are three extras that you can view/use in the hidden menu, which are the ability to Force IMDb+, jump directly to the MovingPictures plugin, and view the last time the plugin checked for updates on the scraper script and default rename database. The "Force IMDb+..." option only shows if you have an existing MovingPictures collection of movies that got imported via the default imdb.com scraper. You can then switch those over to use the IMDb+ scraper, so that you can use all the benefits. This does require a few extra steps, all of which are explained in the wiki Install Guide.

    I did not get around to include a lot of other stuff either, such as a start menu link to the custom rename XML file. All the XML files that used to be in "C:\" are relocated to their new home in your MediaPortal user/date folder inside the "IMDb+" subfolder. So you can use the MediaPortal shortcut in the start menu to get to the main user/data folder and then navigate to this subfolder to edit/view the files. But expect the next MPEO package to add a shortcut for you, to make it even easier. In the future it will also be made possible to do all this from the plugin itself.

    But the plugin has worked well in all my tests and as a bonus it will install the IMDb+ scraper script v3.3.1 for you, which will fix the tagline issue, and ignore the (literal English title) entries to fix some bad renames.

    Now I'm off to crash into la-la land, so enjoy the results and try not to break it :D :D :D
     

    Users who are viewing this thread

    Top Bottom