XBMC Community Forum
Three... - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: Aeon (/forumdisplay.php?fid=68)
+---- Thread: Three... (/showthread.php?tid=45038)



- brownstein - 2009-02-18 19:54

I can help with the Canadian translationWink

color = colour
favorites = favourites

I don't want to reveal too many. We love to throw the letter "U" in there anywhere we can.


- pletopia - 2009-02-18 20:05

if you need someone to translate to english .. i'm your man Wink


- Delver - 2009-02-18 20:31

brownstein Wrote:I can help with the Canadian translationWink

color = colour
favorites = favourites

I don't want to reveal too many. We love to throw the letter "U" in there anywhere we can.

LOL, but thats the correct way Big Grin
without the 'U' is incorrect.....


- Villain - 2009-02-18 21:49

djh_ if you are looking for somebody who can translate Stark in different languages, I can help with Slovene.


- smcnally75 - 2009-02-18 21:58

brownstein Wrote:I can help with the Canadian translationWink

color = colour
favorites = favourites

I don't want to reveal too many. We love to throw the letter "U" in there anywhere we can.

Don't forget "ay". e.g. "Music Library, ay?" Big Grin


- smcnally75 - 2009-02-18 22:00

How about a Klingon translation? Wink Hey Duncan, are you done yet? Confused Big Grin


- Rand Al Thor - 2009-02-18 22:08

DJH,

Will there be fanart included in the Tv Shows node? I know that previously skinners had not done this because it was quite jarring on the eyes if the backgrounds switched rapidly. The other solution would be to add a fade in after a set amount of time but as with the current aeon info view ( the one with the slide in information) the fanart disappears instantly when the item loses focus. In this view there is enough going on with the screen that the transition is not so obvious.

Anyway, I have actually found of way of making the transitions really smooth. I have it working for Tv shows, Movies, and Music. You hover on an item and the fanart fades in nicely after a few seconds. When you leave the item, it fades out smoothly. No jerkyness, no immediate disappearing act. If you want the code you are welcome to it. I don't know what goodies you have already cooked up, so this might not be an issue any more. Cheers and thanks again for all the hard work.


- djh_ - 2009-02-18 22:13

That code would actually be very useful. You can toggle the fanart on and off from any of the windows but it's still a messy transition. The fullscreen info windows have replaced the old sliding icon/panel thing which was unreliable at best, and is now pretty much obsolete. But yeah, cleaning up the fanart transitions would be great, and if you've found a way of stopping them showing up prematurely that'd be great also.

Cheers.


smooth fanart transition - bitmaster - 2009-02-18 23:38

here is my solution for smooth fanart transition for listitem with fanart property (showcase example).
it is fast and simple.Cool
solution: previous and next backdrops are loaded hidden.

Code:
<include name="backdropsettings"> <!-- 720p settings -->
    <posx>0</posx>
    <posy>0</posy>
    <width>1280</width>
    <height>720</height>
</include>

<!-- backdrop if fanart proberty on selected item is empty -->
<control type="image">
     <include>backdropsettings</include>
    <animation effect="fade" end="100" time="200">WindowOpen</animation>
    <animation effect="fade" end="0" time="200">WindowClose</animation>
    <texture>showcase.jpg</texture>
    <visible>[[Control.IsVisible(57)] + !Skin.HasSetting(disablebackdrop)]</visible>
</control>

<!-- backdrop transition for selected item -->
<control type="image">
     <include>backdropsettings</include>
    <visible>!IsEmpty(listitem.property(fanart_image)) + Control.IsVisible(57)</visible>
    <animation effect="fade" delay="100" time="500" >Visible</animation>
    <texture>$INFO[listitem.property(fanart_image)]</texture>
</control>

<!-- backdrop transition for previous item -->
<control type="image">
     <include>backdropsettings</include>
    <visible>!IsEmpty(listitem(-1).property(fanart_image)) + Control.IsVisible(57) + Container.OnNext</visible>
    <animation effect="fade" delay="100" time="500" reversible="false">Hidden</animation>
    <texture>$INFO[listitem(-1).property(fanart_image)]</texture>
</control>

<!-- backdrop transition for next item -->
<control type="image">
     <include>backdropsettings</include>
    <visible>!IsEmpty(listitem(1).property(fanart_image)) + Control.IsVisible(57)+ Container.OnPrevious</visible>
    <animation effect="fade" delay="100" time="500" reversible="false">Hidden</animation>
    <texture>$INFO[listitem(1).property(fanart_image)]</texture>
</control>

improvements are welcomeWink

here one more transition with preloading same funart backdrop twice (one for visible and one for hidden transition; black.png for background):
Code:
<!-- backdrop if no item selected-->
<control type="image">
    <include>backdropsettings</include>
    <texture>black.png</texture>
    <visible>Control.IsVisible(57)</visible>
</control>
    
<!-- backdrop transition for selected item -->
<control type="image" id="777">
     <include>backdropsettings</include>
    <visible>!IsEmpty(listitem.property(fanart_image)) + Control.IsVisible(57) + !Container.OnNext + !Container.OnPrevious </visible>
    <animation effect="fade" delay="500" time="500" >Visible</animation>
    <texture>$INFO[listitem.property(fanart_image)]</texture>
</control>

<!-- backdrop transition for previous item -->
<control type="image">
     <include>backdropsettings</include>
    <visible>!IsEmpty(listitem.property(fanart_image)) + Control.IsVisible(57) + Control.IsVisible(777)</visible>
    <animation effect="fade" delay="500" time="500" >Visible</animation>
    <animation effect="fade" end="0" time="1500" reversible="false">Hidden</animation>
    <texture>$INFO[listitem.property(fanart_image)]</texture>
</control>

try it out.


- Rand Al Thor - 2009-02-18 23:49

@djh

Check your PM's. I know that PM3 has something *similar* to this but it is not very smooth. The way mine works now is quite fluid. Hopefully it helps.





@bitmaster

Do you notice a hit in performance from pre-loading those images? The way I am doing it, the backgrounds are still changing as they normally would if you have a fanart folder set but when you hover on an item the fanart just fades in over the existing image and then fades out when you move off the item. I would image if you have 4 (I think) images loaded at 1920x1080 resolution that it might slow things down. Cheers.