Kodi Community Forum

Full Version: Updating video scrapers for Frodo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

Scrapers can now optionally provide an "aspect" flag on the <thumb> URLs they provide XBMC. At the moment "banner" and "poster" are supported. i.e. instead of:

<thumb>url</thumb>

you should return (when you know the aspect ratio of the image, ofcourse)

<thumb aspect="poster">url</thumb>

TheTVDB.com scraper has been updated, but this doesn't just apply to tv - movies scrapers could return different image types, though I suspect they'll all be returning "poster" in general. Music scrapers will probably just return thumb sized images (album cover, artist art tends to be square) so in that case using "thumb" is preferable.

So:

"banner" if it's a wide banner image, like thetvdb.com uses for show banners.
"poster" if it's a tall poster image, like thetvdb.com's posters or themoviedb.org.
"thumb" for everything else typically - this is optional, you don't need the aspect flag present - if it's not present, XBMC will assume it's a thumb.

Cheers,
Jonathan
Great improvement!

Music banners are available on fanart.tv and theaudiodb.com metadata sites.

Movie Banners are available on fanart.tv

The aspect ratio for all banners should be 5.4 and is usually 1000x185px at source
(2012-10-16, 23:38)zag Wrote: [ -> ]Great improvement!

Music banners are available on fanart.tv and theaudiodb.com metadata sites.

Movie Bannders are available on fanart.tv

uhm those can't be scraped because banners is only for tvshows or did i miss the fact they are globally added?
Yes, tvshows only atm for banners. poster is supported by movies.
Your tvdb scraper with the updated code form your repo is version 1.2.5 however the wiki page and the addon says its at 1.3.1 in trunk says its at 1.2.4, just thought I would mention this, because somewhere either by my PEBCAK or someone else this is going to cause some confusion/issues.

no disruption meant.

idk if the versions even matter but if you compile form git the addon repo is tvdb 1.3.1 if override with jmarshall addon to get proper data the autoupdate will override it, solution is to disable it or change the version nr.

uNi
Noone should be using my repository as everything is in the main repo. I simply supplied it temporarily until it was in the repo.

Further, anything in mainline master is overridden by everything in the main repo.
compiling from git, and using as is will not supply the updated addon, the repo version is not updated to include these "enhancements" if it is its not working, so alternative is to override

so if not using your addon (not repo) i still only get old addon and incomplete data, since Im on pre frodo

The discrepancy exists even if not using your addon, not your repo

So yes your correct, mainline master is getting overridden with old version, now I dont want or am using old version. SO how can one use new version?

uNi
Again, the scraper is available in the main Xbmc add on repository. Just wait for it t update, or grab the update directly through the add on manager,
it updates to 1.3.1 (which is older addon version) and then all improvements are lost. manually or automatically.
(2012-10-23, 07:59)uNiversal Wrote: [ -> ]it updates to 1.3.1 (which is older addon version) and then all improvements are lost. manually or automatically.

wrong. scraper have been updated like it should!
ok, can you post a link to that repo where this is happened please?

uNi
ok thanks
Hi,

How I have to set the <thumb>url</thumb> with its aspect and ratio to be displayed as background image?

The aspect="poster" attribute is working fine for me, but background images are not shown.