Kodi Community Forum
movie scraping, issues with tmdb - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: movie scraping, issues with tmdb (/showthread.php?tid=226793)

Pages: 1 2


movie scraping, issues with tmdb - THRobinson - 2015-05-13

Had to format my drive this weekend, so today scraping my movie drive with kodi 14.2.

Going through the poster art I noticed that if artwork on tmdb website is listed as 'primary' then the scraper defaults to the 2nd highest voted poster art. If nothing is listed on tmdb site as primary, then it scrapes the highest voted poster artwork like it always has.

This a site? Or plugin issue?

Example
https://www.themoviedb.org/movie/77866-contraband/posters

When scraped, it defaults to the 2nd poster listed.

Not a huge deal, but often I find the 2nd rated posters are usually bad, or just not 2:3 ratio.


RE: movie scraping, issues with tmdb - Ned Scott - 2015-05-13

What does "Primary" mean in this context? Does that mean someone from TMDB has specifically chosen a poster that has its own preference beyond just using votes?


RE: movie scraping, issues with tmdb - THRobinson - 2015-05-13

Must be something new on the site, never noticed it before, but if you go to the link in my OP, you'll see that the #1 poster says primary and has a green check mark. Then go look at other movies, some say primary, some don't.


RE: movie scraping, issues with tmdb - THRobinson - 2015-05-13

So, anyone else have this issue?

I was clicking through my collection updating manually, until I realized how many posters were the wrong ratio/size and how long it was taking. Normally if I have to rescrape the collection (1,100 files more or less) I have about 15 to change... way way more than that this time.


RE: movie scraping, issues with tmdb - Ned Scott - 2015-05-13

Not sure. However, I'll move this to the General OS forum to get more attention.


RE: movie scraping, issues with tmdb - DaVu - 2015-05-14

Interesting...never saw that 'primary' thing on that site and noticed, that it is not there for any language for this movie. In german there is no 'primary' note


RE: movie scraping, issues with tmdb - THRobinson - 2015-05-14

I wiped out KODI and installed XBMC 13.2 Gotham, did a scrape again and same deal... movies that have that PRIMARY flag for the main poster art, that poster doesn't get scraped.

It shows as the 2nd poster in the list when you manually change the artwork though, so not skipped entirely... just not scraped as the default.

So, problem isn't XBMC/KODI version specific... I guess scraper/plugin issue?



Image


RE: movie scraping, issues with tmdb - DaVu - 2015-05-14

I think this is a new feature of this site and maybe not documented in their API documentation. So I think, this won't ever be fixed for Kodi Helix, because there have to be done some changes to the scraper. Maybe it will be fixed in Isengard...

What does the devs say?

Maybe it would be better to open a ticket for that. It's not a bug if TMDB changes something which Team Kodi can't know off...but I guess it will get much more attention if it would be reported at trac


RE: movie scraping, issues with tmdb - steelman1991 - 2015-05-14

@THRobinson - just to confirm your findings - I am experiencing the same behaviour. Strange thing testing with a relatively small sample, this is the only example I can find with that annotation, which causes this behaviour. WIll do some more testing.

If you decide to take David1977's advice and report to TRAC as a bug, post the link here.

EDIT - of the small sample I was able to identify that had the 'primary' notation - in addition to Contraband (Schindler's List and all Star Wars movies) only Contraband showed this behaviour, all others scraped correctly, using the voting system as expected.


RE: movie scraping, issues with tmdb - THRobinson - 2015-05-14

Well, I know there are a few movies that have it and scraped incorrectly, like Avatar and Boogie Nights... top of my head. I'll have to click through the library later and find some more. It seems random... not based on year/popularity of the movie for what has that 'primary' designation.


RE: movie scraping, issues with tmdb - steelman1991 - 2015-05-14

Yip it did it for Avatar as well - don't have Boogie Nights so can't check that one - seems really random.


RE: movie scraping, issues with tmdb - THRobinson - 2015-05-14

Ya it's weird... I do a lot of adding artwork and voting on that TMDB site, so, when I see a poster in my collection the wrong shape or just crappy, I always login and vote... that's the only reason I noticed it. Power outtage on the weekend messed up my system so had to backup files and format C:\ and start over. Figured rescrape vs restore from backup, that's when I saw it... may have been this way for months... no idea.


RE: movie scraping, issues with tmdb - travisbell - 2015-05-14

Hey guys,

Thought I could add some insight Big Grin

The "primary" image is a new feature on the website but it really has no affect on the API. As long as you're grabbing the 'poster_path' field from the movie response, it will select the image marked as "primary". If one isn't marked as primary, we default to the previous behavior of highest rated image per language is what we do.

If I was to guess the issue, Kodi is not using the 'poster_path' field for the default selected image but rather is calling the full images method and sorting by rating and simply grabbing the highest rated.

Obviously Kodi can keep calling highest rated but this feature was introduced so we could more reliably serve consistent images. The highest rated isn't always the best.


RE: movie scraping, issues with tmdb - steelman1991 - 2015-05-14

Thanks Travis - hoped you'd see this and respond.

One question though - who decides what the primary image is? wasn't that the whole idea of having a ratings system.


RE: movie scraping, issues with tmdb - THRobinson - 2015-05-15

I always wanted to see something like this happen. Some older art is the incorrect 2:3 ratio and looks bad when flipping through the movie list, but, image so old its been voted on so many times and no way to knock it down the list.

Figured best way would be to make the highest rated 2:3 image the primary... May not be the best but at least the image is the right dimensions.