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


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

*shrug* this shouldn't happen; a debug log about a movie refresh with tmdb might help.
Are you sure you have enabled this setting in tmdb on the given source and not only in addons manager(which would only amend the scraper defaults and would not modify scraper settings on existing sources)?


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

(2018-01-22, 23:27)Guilouz Wrote:
(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 
Setting enable :

Image

And I switch scraper in source settings and re-scrap a movie :

Image


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

I need a debug log to further analyze.


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

(2018-01-23, 00:12)olympia Wrote: I need a debug log to further analyze.
 Strange but since I have switched to TMDB scraper -> Universal Movie Scraper -> TMDB scraper, it's working now...


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

Cool, all is fine then, except that those list functions without votes are not working.


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

I would have thought it would be in the rating_type column.


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

(2018-01-23, 07:19)Hitcher Wrote: I would have thought it would be in the rating_type column.
 ...and you are right. There was some issue why a setting was not passed over to the scraper correctly, hence rating_type was populated incorrectly.


RE: IMdB rating with TMDB scraper - phate89 - 2018-01-24

(2018-01-20, 08:39)Hitcher Wrote: 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.
I looked into it and I didn't see the problem at first glance.. 
The actual implementation is ListItem.Ratings() not ListItem.Rating(). With the .Ratings works well
It's my fault since in the original pr (https://github.com/xbmc/xbmc/pull/8080) I actually talked about ListItem.Rating but I implemented .Ratings


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

Might it be a good idea to change it to ListItem.Rating[(name)] because we still use ListItem.Rating and ListItem.UserRating for the other labels.


RE: IMdB rating with TMDB scraper - phate89 - 2018-01-24

(2018-01-24, 17:39)Hitcher Wrote: Might it be a good idea to change it to ListItem.Rating[(name)]because we still use ListItem.Rating and ListItem.UserRating for the other labels.
 I'm starting to think it might be my initial idea since RatingAndVotes has the same name. I can easily do it since nobody probably used it.. It shouldn't be a problem..
Edit: here we go:
https://github.com/xbmc/xbmc/pull/8080


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

Thanks.


RE: IMdB rating with TMDB scraper - mardukL - 2018-04-21

Hi, before open a new thread , i ask here.

i have a similiar issue due to get consistent imdb ratings in kodi leia.

check, some IMDB ratings missing to show up.
i scrapped movies with universal movie scrapper and tv shows with thetvdb scrapper,booth enabled imb ratings in the scrapping options.

i can get ratings from imdb just labeled with skinhelper addon code.
using kodi codes results in 0.0

also tv shows are wont scrapped correct, some miing imdb, some not.
i dont get the problem located.

I use the labels in the pics below to show up my results.
sorry if im in wrong thread, i do t know if its related to scrapper, missing api key.

Using listitem.rating[(imdb)] gives blank lines

Image
Image
scraped but missing imdb rating  label ??
Image


RE: IMdB rating with TMDB scraper - tential - 2018-08-20

(2018-01-23, 00:10)Guilouz Wrote:
(2018-01-22, 23:27)Guilouz Wrote:
(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     
Setting enable :

Image

And I switch scraper in source settings and re-scrap a movie :

Image 

I've had this setting set for awhile.
The only way I can get the IMDB rating to show up is to refresh the movie though.
Even my new movies are not adding with the IMDB rating, but 95% of the time add with the TMDB rating.  Out of my recently added movies, only 1-2 actually got the IMDB rating.

I changed to local and back to the TMDB to do what you suggested and rescrap the movies, but I still am lost as to why I don't get the right ratings showing up.

Rescraped with IMDB clearly marked....

All my ratings reverted back to TMDB.
I'm sad Sad 
Edit: It changed the default rating when I rescrapped... sighSad
Still confused as to why new movies won't add with the IMDB rating though and always need a refresh.