don't show the tvshow 'breadcrumbs' if they're empty, fixes #11333
authorJonathan Marshall <jmarshall@never.you.mind>
Wed, 16 Mar 2011 03:59:13 +0000 (16:59 +1300)
committerJonathan Marshall <jmarshall@never.you.mind>
Wed, 16 Mar 2011 19:44:32 +0000 (08:44 +1300)
addons/skin.confluence/720p/MyVideoNav.xml

index b4f9645..64009a8 100644 (file)
                <control type="group">
                        <posx>470</posx>
                        <posy>0</posy>
-                       <visible>Container.Content(Episodes)</visible>
+                       <visible>Container.Content(Episodes) + !IsEmpty(ListItem.Season)</visible>
                        <include>VisibleFadeEffect</include>
                        <animation effect="slide" end="-710,0" time="400" tween="quadratic" easing="out">WindowClose</animation>
                        <animation effect="slide" start="-710,0" time="400" tween="quadratic" easing="out">WindowOpen</animation>
                        <posx>240</posx>
                        <posy>0</posy>
                        <visible>Container.Content(Seasons) | Container.Content(Episodes)</visible>
+                       <visible>!IsEmpty(ListItem.TVShowTitle)</visible>
                        <include>VisibleFadeEffect</include>
                        <animation effect="slide" end="-600,0" time="400" tween="quadratic" easing="out">WindowClose</animation>
                        <animation effect="slide" start="-600,0" time="400" tween="quadratic" easing="out">WindowOpen</animation>