Scores Reported as ZERO

Discussion in 'IMDb+' started by Big_Chubbz, February 3, 2016.

  1. Big_Chubbz

    Big_Chubbz Portal Member

    Joined:
    April 29, 2013
    Messages:
    21
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    United States of America United States of America
    I (think) I have IMDB+ configured to show me RT audience ratings in Moving Pictures, but most of the movies show a score of zero. I have IMDB+ set as the ONLY scraper in Moving Pictures and have re-imported all the movies several times with no results.

    Any ideas?


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,238
    Likes Received:
    1,334
    Ratings:
    +1,743 / 2
    Yes, RT is broken in existing release.

    I fixed it at source code level, but Google Code is read-only now, so I need to release a new GitHub based IMDb+ plugin, and I just have not had the time yet.

    If you use an SQLite database editor, you can manually apply the changes to the v4.9.52 version of the scraper-script in the 'scripts' table, but do not adjust the version/year then, otherwise the IMDb+ plugin will overwrite them again with the Google-Code version that does not work.

    Diff view @ https://github.com/RoChess/IMDbPlus/commit/f9122cbdd41e39fefa0770ef12ba9fe695827d82

    I will try again to find time this weekend to release a new MPEI for IMDb+ plugin, as I was frustrated last time I tried that I pushed it to the side.
     
    • Thank You! Thank You! x 1
  4. Big_Chubbz

    Big_Chubbz Portal Member

    Joined:
    April 29, 2013
    Messages:
    21
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    United States of America United States of America
    Thanks for the quick reply. I'll stay patient for the update in MPEI.
     
  5. Big_Chubbz

    Big_Chubbz Portal Member

    Joined:
    April 29, 2013
    Messages:
    21
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    United States of America United States of America
    Thanks for your work on this plugin and for the recent update. Unfortunately, I am still getting scores of zero imported through Moving Pictures. I have IMDB+ configured as the only data source, and Moving Pictures reports that it is using scraper v4.9.55 published 2/7/16.

    Could this be an error in configuration on my part, or is the scraper still malfunctioning? I've attached a screenshot of the settings I'm using. I am hoping these settings result in the scraper using RT audience scores in MP.

    Thanks again.
    2016-02-08.png
     
  6. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,238
    Likes Received:
    1,334
    Ratings:
    +1,743 / 2
    @Big_Chubbz RottenTomatoes puts up blocks now a lot of times, and API keys are needed (you can register with RT easy for your own developer API key to allow 10,000 requests a day, and then manually add that key to IMDb+ options file for now). The moving-pictures.log file should tell me more if that is the case. They should still allow 5 movie imports a day though, but you might have mass updated/imported your library.

    To get the right info in the log files I would need the following:

    MediaPortal in debug mode
    Moving-Pictures with scraper-script debugging enabled
    IMDb+ adjusted with the manual option enabled to put HTML sources in log file

    The instructions for the above are splintered at: https://github.com/RoChess/IMDbPlus/tree/wiki and make sure the log file you provide contains JUST ONE movie imported/refreshed, because otherwise it is too hard for me to deal with the asynchronous mix of multiple threads.
     
    Last edited: February 9, 2016
    • Thank You! Thank You! x 1
  7. Big_Chubbz

    Big_Chubbz Portal Member

    Joined:
    April 29, 2013
    Messages:
    21
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    United States of America United States of America
    Thanks for your help. I hope I did this correctly. The log file is attached. I'm happy to register for an API key, if that will solve the problem. Where can I find instructions for editing the IMDB+ options file with the key?
     
  8. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,238
    Likes Received:
    1,334
    Ratings:
    +1,743 / 2
    Yup, that is exactly what I needed to see what's happening.

    Seems RottenTomatoes changed things as well, as I immediately spot the following error:

    09-Feb-2016 14:39:40 Warn [ ScraperNode]: Could not connect to //www.rottentomatoes.com/m/bridge_of_spies/. Unable to cast object of type 'System.Net.FileWebRequest' to type 'System.Net.HttpWebRequest'.

    So expect an IMDb+ scraper-script update shortly that adds http: to that.

    As far as RT API key goes, I summed that up in this post: https://forum.team-mediaportal.com/...db-scraper-v4-9-41.98978/page-38#post-1132276
     
    • Thank You! Thank You! x 1
  9. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,238
    Likes Received:
    1,334
    Ratings:
    +1,743 / 2
    @Big_Chubbz can you please verify if v4.9.56 fixes the problem for you?
     
    • Agree Agree x 1
  10. Big_Chubbz

    Big_Chubbz Portal Member

    Joined:
    April 29, 2013
    Messages:
    21
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    United States of America United States of America
    Thanks, @RoChess ! It looks like it is fixed. I still have a bunch with zeros, but the ones that are populated have the correct data.

    I'm guessing the zeros are a result of RT limiting the number of queries that I am allowed? Out of curiosity, do you know what those limits are? I couldn't find anything when I searched their site and did a quick Google.
     
  11. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,238
    Likes Received:
    1,334
    Ratings:
    +1,743 / 2
    From trial & error it appears to be roughly 5 free calls per day, or 10,000 a day when you have an API key.

    The moving-pictures.log file should contain some reference to the error when you import/refresh movies, even when logs are limited to just info.

    It will have an entry along the lines of "page not found" or "access denied" for rottentomatoes.com in there.
     
    • Thank You! Thank You! x 1
Loading...

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!