Kodi Community Forum

Full Version: IMdB rating with TMDB scraper
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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.
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.
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.
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
(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?
(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-...den-circle)

I use ListItem.Rating(imdb) / ListItem.Rating(themoviedb) / ListItem.Votes(imdb) / ListItem.Votes(themoviedb)
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!
Can anyone advise what the tag format is for nfo files to have both IMDb and TMDb ratings and votes?
(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
Works for me for those two you mentioned as well.
(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
Actually I used TMDB scraper Wink
Don't forget to enable to get imdb rating also in the settings.
Have you checked their values in your database to see that they're being scraped?
(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
(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
Pages: 1 2