Kodi Community Forum

Full Version: FanArt Handeling?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Which /xml handles fanart for video and such?
from wiki (http://www.xbmc.org/wiki/?title=InfoLabels):
Code:
Fanart.Image     Fanart image for the parent TV Show
Listitem.Property(Fanart_Image)     Fanart image for the selected item
Can that be added directly to lets say MyVideoNav.xml, or is it something I have to add to includes.xml?
It does not have to be in includes.xml.
So will this work for includes

<include name="CommonFanart">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<texture>Listitem.Property(Fanart_Image)</texture>
<width>1280</width>
<height>720</height>
<aspectratio>stretch</aspectratio>
</control>
crap sorry thought you typed DOES. BRB testing now.

EDIT: No idea where to add it. any suggestions?

Code: http://pastebin.ca/1407233
depends on where you want it..
as xbmc layers the items from top of xml to backmost layer in the UI.
If you want to have it as a background, then put it first in the xml
OK I added this to the beginning of the window coding:

<control type="largeimage">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>720</height>
<aspectratio>scale</aspectratio>
<visible>Listitem.Property(Fanart_Image)</visible>
</control>

I now get this: Image

Any suggestions on what I am doing wrong?

Got it!

Not it's got working fanart just needed to change the code to <info>Listitem.Property(Fanart_Image)</info>
and rearrange the window a bit but it works!
where exactly have you put it?
remember that it won't show if you have something on top of it that is not transparent.
and it should be within the <controls> tags. just treat it like any other image control
I did an edit Tongue