- Moderator
- #1
I tried to edit the recently added movie.xml a bit but can't get it to work. Especially the visible conditions are needed.
I use the standard vertical menu and I want if I press the right key to jump to the first recently added movie. Left key goes to ID 7777 which is the exit menu and is good.
The button ID for the first recently added movie is 91919991 according to the fanart handler wiki.
In the Basichome.xml I changed the Movies control to this:
<control>
<description>MOVIES0</description>
<type>button</type>
<id>1702</id>
<posX>0</posX>
<posY>-30</posY>
<label>MOVIES</label>
<width>320</width>
<height>72</height>
<textureFocus>-</textureFocus>
<textureNoFocus>-</textureNoFocus>
<hyperlink>96742</hyperlink>
<hover>-</hover>
<onright>91919991</onright>
<onleft>7777</onleft>
<onup>1801</onup>
<ondown>1703</ondown>
</control>
In the Fanart Handler skin designer guide there also an example button to play first recently added movie which I changed to this:
<control>
<description>Play Button</description>
<type>button</type>
<id>91919991</id>
<posX>790</posX>
<posY>484</posY>
<width>148</width>
<height>207</height>
<textureFocus>poster_frame_rounder_corners_play.png</textureFocus>
<textureNoFocus>poster_frame_rounder_corners.png</textureNoFocus>
<label>-</label>
<onleft>91919993</onleft>
<onright>91919992</onright>
<onup>1702</onup>
<font>font14</font>
<animation effect="fade" time="800" reversible="true">VisibleChange</animation>
<animation effect="fade" start="100" end="0" time="350">WindowClose</animation>
<animation effect="slide" start="0,0" end="800,0" tween="quadratic" easing="in" time="350">Hidden</animation>
<visible allowhiddenfocus="true">control.isvisible(1002)</visible>
</control>
What happens if I press right:
The <textureFocus> poster_frame_rounder_corners_play.png appears on the recently added movie cover for a very short time but then everything fades out and I get a black screen with only basichome.menu.overlay.png shown. Up should go to Movie menu again.
I guess there is something missing in the <visible></visible> part ot the button?
Maybe you can help me bit?
Would be very kind!
I use the standard vertical menu and I want if I press the right key to jump to the first recently added movie. Left key goes to ID 7777 which is the exit menu and is good.
The button ID for the first recently added movie is 91919991 according to the fanart handler wiki.
In the Basichome.xml I changed the Movies control to this:
<control>
<description>MOVIES0</description>
<type>button</type>
<id>1702</id>
<posX>0</posX>
<posY>-30</posY>
<label>MOVIES</label>
<width>320</width>
<height>72</height>
<textureFocus>-</textureFocus>
<textureNoFocus>-</textureNoFocus>
<hyperlink>96742</hyperlink>
<hover>-</hover>
<onright>91919991</onright>
<onleft>7777</onleft>
<onup>1801</onup>
<ondown>1703</ondown>
</control>
In the Fanart Handler skin designer guide there also an example button to play first recently added movie which I changed to this:
<control>
<description>Play Button</description>
<type>button</type>
<id>91919991</id>
<posX>790</posX>
<posY>484</posY>
<width>148</width>
<height>207</height>
<textureFocus>poster_frame_rounder_corners_play.png</textureFocus>
<textureNoFocus>poster_frame_rounder_corners.png</textureNoFocus>
<label>-</label>
<onleft>91919993</onleft>
<onright>91919992</onright>
<onup>1702</onup>
<font>font14</font>
<animation effect="fade" time="800" reversible="true">VisibleChange</animation>
<animation effect="fade" start="100" end="0" time="350">WindowClose</animation>
<animation effect="slide" start="0,0" end="800,0" tween="quadratic" easing="in" time="350">Hidden</animation>
<visible allowhiddenfocus="true">control.isvisible(1002)</visible>
</control>
What happens if I press right:
The <textureFocus> poster_frame_rounder_corners_play.png appears on the recently added movie cover for a very short time but then everything fades out and I get a black screen with only basichome.menu.overlay.png shown. Up should go to Movie menu again.
I guess there is something missing in the <visible></visible> part ot the button?
Maybe you can help me bit?
Would be very kind!