Kodi Community Forum

Full Version: Supporting multiple image types - need input (test build inside)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Good news guys -

Poster banner support for video art

Thanks Jonathan.
Finally. Smile
also thx from my side. huge improvement.
Wow ! These are great news !!! Smile

Thanx

Christmas is early this year! Thnx Jsanta!
PR closed so I'm guessing it should be in tomorrow's nightly. Wink
(2012-10-11, 00:05)Hitcher Wrote: [ -> ]PR closed so I'm guessing it should be in tomorrow's nightly. Wink

jep Smile
This renders listitem.icon obsolate as thumbs are having fallbacks now or do I get it wrong?
You got it wrong I asked jmarshall the same question and he said that the art stuff is like the old thumb no fallback to a default
If no "thumb" image type is present, then ListItem.Thumb, ListItem.Art(thumb) (and ListItem.Icon for that matter) will try ListItem.Art("poster") and ListItem.Art("banner"). If all "thumb", "banner", and "poster" are empty, then ListItem.Thumb will be empty. ListItem.Icon in addition will then try the icon image.

Thus, you should set things up as follows:

<control type="image">
<texture>ListItem.Art(banner)</texture>
</control>
<control type="image">
<texture>ListItem.Icon</texture>
<visible>IsEmpty(ListItem.Art(banner))</visible>
</control>

Cheers,
Jonathan
(2012-10-11, 01:56)ronie Wrote: [ -> ]2012-10-10 ListItem.Art Support

ListItem.Art(..) has been added to XBMC in order to easily support multiple image types (think banners / posters for tv shows)

The Get Thumb (id 10) and Get Fanart (id 12) buttons in DialogVideoInfo.xml should be replaced with a single button (id 10) that has the label 13511 (Choose Art).

git commit: https://github.com/xbmc/xbmc/commit/2f98...151d1e1d03
pull-request: 1575 (GH issue)
forum thread: http://forum.xbmc.org/showthread.php?tid=136134
Shocked



It's... party time Rofl
Is this in the 11 Oct nightly? If so does it need like a re-scrape or something?
ListItem.Art(banner) stays empty for me, while icon returns a banner.
yeah it needs re-scraping if you want to get the extra stuff set though I also heard that the Artwork downloader script is going to be updated soon to set them for you and not require a rescrape

Currently the old banner for tvshows gets set as a ListItem.Art(thumb) onthe library update too maintain backwards compatability. The problem with this is that when you do a fresh scrape it goes like this

fanart = fanart
banner = banner
poster = poster
thumb = poster

so for new users the default thumb will be posters not banners unlike all the old users (unless they rescrape)
Did a rescrape. Actually wiped everything and re-installed.
Still no ListItem.Art(banner) or poster.

-edit- Fixed! Used the updated scrapers pack. Man this is an awesome improvement!
You need banner.jpg in the tv show folder because the tvdb scraper isn't updated yet. It's working fine for me.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15