TMDb Scrapper
#1
I'm not familiar with the Scraping xml formats, And i was wondering, how exactly Kodi Fetch Data from TMDb, and what conditions does it have until it finds the movie.

I'm trying to Create an Algorithm to Detect which movies could Kodi with TMDB Correctly Recognize and which won't. I mean some movie names, are duplicates, and Kodi selects the Older one, or the ODDER one i don't know

http://i.imgur.com/krAGbdw.png

This is what it Does so far. Some are False Positives (One year difference)
Some others (not found ones) are because i exceeded the 30 Requests per 10 Seconds Limit
Some others i left them in purpose unranmed with the 1080p and so on just to check and some others are completely different

I'm just trying to figure out which are the conditions of Kodi to Get the Movie Infos

In this example my script is taking always the first result
Reply
#2
read the source, can't be more precise than that.

https://github.com/xbmc/xbmc/blob/master...r.cpp#L556

- CleanString method is relevant https://github.com/xbmc/xbmc/blob/master...r.cpp#L561
- it hits the search api in tmdb.
- it might sort things https://github.com/xbmc/xbmc/blob/master...r.cpp#L618
- things are scored with a weighted, fuzzy string compare, details are important https://github.com/xbmc/xbmc/blob/master...r.cpp#L654

additional logic of interest sits in VideoInfoScanner and VideoInfoDownloader. cba to hunt down the line numbers there.
Reply

Logout Mark Read Team Forum Stats Members Help
TMDb Scrapper0