Kodi Community Forum
IMdB rating with TMDB scraper - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60)
--- Thread: IMdB rating with TMDB scraper (/showthread.php?tid=327353)

Pages: 1 2


IMdB rating with TMDB scraper - Guilouz - 2018-01-20

Hi,

I see, in last version of The Movie Database scraper addon, a new setting to get also IMdB rating but how to use it with info label to show it ?

ListItem.Rating just show TMDB rating.


RE: IMdB rating with TMDB scraper - Hitcher - 2018-01-20

ListItem.Rating[(name)]
Shows the scraped rating of the currently selected item in a container. Optionally you can specify the name of the scraper to retrieve a specific rating.
ListItem.Votes[(name)]
Shows the IMDB votes of the currently selected movie in a container. Optionally you can specify the name of the scraper to retrieve specific votes.
ListItem.RatingAndVotes[(name)]
Shows the IMDB rating and votes of the currently selected movie in a container. Optionally you can specify the name of the scraper to retrieve a specific rating and votes.


RE: IMdB rating with TMDB scraper - Guilouz - 2018-01-20

Yes I know that but when I use $INFO[ListItem.Rating(IMDB)], it return always TMDB rating.

Example for 'Deadpool' movie, on IMDb it's rated 8.0 (http://www.imdb.com/title/tt1431045/?ref_=nv_sr_2) and on TMDB 7.5 (https://www.themoviedb.org/movie/293660-deadpool)

In my screenshot I use $INFO[ListItem.Rating(IMDB)] - $INFO[ListItem.Votes(IMDB)] in first line and $INFO[ListItem.Rating(TMDB)] - $INFO[ListItem.Votes(TMDB)] in second line and see the result :

Image

I have also try ListItem.RatingAndVotes -> return nothing
and ListItem.Votes -> return 0

And I specify that I re-scraped this movie.


RE: IMdB rating with TMDB scraper - olympia - 2018-01-21

Have you tried $INFO[ListItem.Rating(imdb)] - with small case "imdb"? That's how it is scraped into the Db, not sure about case sensitivity there.
...any btw, TMDB rates=themoviedb

...and Universal Movie scraper can scrape Rotten Tomato ratings as well with the names: tomatometerallcritics/tomatometerallaudience/tomatometeravgcritics/tomatometeravgaudience


RE: IMdB rating with TMDB scraper - Edworld - 2018-01-21

(2018-01-21, 11:25)olympia Wrote: ...and Universal Movie scraper can scrape Rotten Tomato ratings as well with the names: tomatometerallcritics/tomatometerallaudience/tomatometeravgcritics/tomatometeravgaudience
 Are all these ratings now available from omdbapi?


RE: IMdB rating with TMDB scraper - Guilouz - 2018-01-22

(2018-01-21, 11:25)olympia Wrote: Have you tried $INFO[ListItem.Rating(imdb)] - with small case "imdb"? That's how it is scraped into the Db, not sure about case sensitivity there.
...any btw, TMDB rates=themoviedb

...and Universal Movie scraper can scrape Rotten Tomato ratings as well with the names: tomatometerallcritics/tomatometerallaudience/tomatometeravgcritics/tomatometeravgaudience
 Working with small characters but in all case IMDb rating return TMDb rating and votes not working for IMDb :

Image

Image

Movie 'Happy Birthdead' is rated 6.5 on IMDb with 37927 votes (http://www.imdb.com/title/tt5308322/?ref_=nv_sr_1) and 6.4 on TMDB (https://www.themoviedb.org/movie/440021-half-to-death).

Movie 'Kingsman The Golden Circle' is rated 6.9 on IMDb with 142089 votes (http://www.imdb.com/title/tt4649466/?ref_=nv_sr_1) and 7.0 on TMDB (https://www.themoviedb.org/movie/343668-kingsman-the-golden-circle)

I use ListItem.Rating(imdb) / ListItem.Rating(themoviedb) / ListItem.Votes(imdb) / ListItem.Votes(themoviedb)


RE: IMdB rating with TMDB scraper - olympia - 2018-01-22

Just tested this.

I have got the same results with ListItem.Rating(imdb), so there seems to be indeed some bug around this.

however, using $INFO[ListItem.RatingAndVotes(imdb)] works like a charm!


RE: IMdB rating with TMDB scraper - vbat99 - 2018-01-22

Can anyone advise what the tag format is for nfo files to have both IMDb and TMDb ratings and votes?


RE: IMdB rating with TMDB scraper - Guilouz - 2018-01-22

(2018-01-22, 12:03)olympia Wrote: Just tested this.

I have got the same results with ListItem.Rating(imdb), so there seems to be indeed some bug around this.

however, using $INFO[ListItem.RatingAndVotes(imdb)] works like a charm!
 Not working for all movies, working with 'Deadpool', not working for many others movies : 

Image

Image

Image


RE: IMdB rating with TMDB scraper - olympia - 2018-01-22

Works for me for those two you mentioned as well.


RE: IMdB rating with TMDB scraper - Guilouz - 2018-01-22

(2018-01-22, 23:18)olympia Wrote: Works for me for those two you mentioned as well.
 Do you use TMDB scraper or Universal movie scraper ?

EDIT : Working only with Universal Movie Scraper


RE: IMdB rating with TMDB scraper - olympia - 2018-01-22

Actually I used TMDB scraper Wink
Don't forget to enable to get imdb rating also in the settings.


RE: IMdB rating with TMDB scraper - Hitcher - 2018-01-22

Have you checked their values in your database to see that they're being scraped?


RE: IMdB rating with TMDB scraper - Guilouz - 2018-01-22

(2018-01-22, 23:32)olympia Wrote: Actually I used TMDB scraper Wink
Don't forget to enable to get imdb rating also in the settings.
 Yes, this setting is enable and I have re-scrapped movies of my screenshots.

When I scrap a movie with TMDB scrapper -> No IMDb rating, with Universal Movie Scraper -> OK


RE: IMdB rating with TMDB scraper - Guilouz - 2018-01-22

(2018-01-22, 23:44)Hitcher Wrote: Have you checked their values in your database to see that they're being scraped?
 Where this info are located in database ?

Ratings I have find are here :

Image

Image


This forum uses Lukasz Tkacz MyBB addons.