View Full Version : FanArt Handeling?
XBMCG33K
2009-04-29, 12:29
Which /xml handles fanart for video and such?
from wiki (http://www.xbmc.org/wiki/?title=InfoLabels):
Fanart.Image Fanart image for the parent TV Show
Listitem.Property(Fanart_Image) Fanart image for the selected item
XBMCG33K
2009-04-29, 14:02
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.
XBMCG33K
2009-04-29, 14:10
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>
XBMCG33K
2009-04-29, 14:16
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
XBMCG33K
2009-04-29, 18:48
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: http://i39.tinypic.com/svji4w.jpg
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
XBMCG33K
2009-04-29, 19:00
I did an edit :P