Arctic: Zephyr MOD game trailers
#1
Hi guys i'm really new at this, so bear that in mind. I'm trying to mod the Arctic: Zephyr skin to be compatible with the Advanced launcher and Advanced emulator launcher. on one of the view i put trailers insted of fanarts but i have 2 problems with it and various questions

here it is the view in action so ypu can see what i'm talking about


Problem 1 - When i go from left to right all the trailers play, but when i go right to left it doesn't play the trailer of the selected game but if i go left again the trailer of the new selected game plays. Can i fix this on the skinview xml or it's kodi's problem.

Problem 2 - how can i stop the player from playing when i hit backspace and esc. I whant this to be different than when i'm playing videos or series or watching tv. don't know if it is possible

Question 1 - Can i "force disable the "now playing" on the top right corner just for this skin_view or addon
Question 2 - Are there any parameters that i can add for the trailers start on the 5 second mark, for exemple?

CODE CHANGES
original
PHP Code:
<itemlayout height="640" width="1138">
                        <
control type="image">
                            <
centerleft>50%</centerleft>
                            <
centertop>50%</centertop>
                            <
width>100%</width>
                            <
height>100%</height>
                            <
aspectratio scalediffuse="false">scale</aspectratio>
                            <
texture background="true" diffuse="diffuse/bigwiderolodex.png">$VAR[FanartImage]</texture>
                        </
control>
                    </
itemlayout>
                   
                    <
focusedlayout height="640" width="1138">
                        <
control type="image">
                            <
centerleft>50%</centerleft>
                            <
centertop>50%</centertop>
                            <
width>100%</width>
                            <
height>100%</height>
                            <
aspectratio scalediffuse="false">scale</aspectratio>
                            <
texture background="true" diffuse="diffuse/bigwiderolodex.png">$VAR[FanartImage]</texture>
                        </
control>
                    </
focusedlayout>
                </
control

Moded
PHP Code:
<itemlayout height="640" width="1138">
                        <
control type="videowindow">
                            <
centerleft>50%</centerleft>
                            <
centertop>50%</centertop>
                            <
width>100%</width>
                            <
height>100%</height>
                            <
aspectratio scalediffuse="false">scale</aspectratio>
                        </
control>

                        <
control type="button">
                        <
onfocus condition="!IsEmpty(ListItem.Trailer)">PlayMedia($INFO[ListItem.trailer],1)</onfocus>
                        <
onunfocus condition="Player.HasVideo">PlayerControl(Stop)</onunfocus>
                        <
texturefocus>-</texturefocus>
                        <
texturenofocus>-</texturenofocus>
                        
                        </
control>
                        
                    </
itemlayout>
                   
                    <
focusedlayout height="640" width="1138">
                        <
control type="videowindow">
                            <
centerleft>50%</centerleft>
                            <
centertop>50%</centertop>
                            <
width>100%</width>
                            <
height>100%</height>
                            <
aspectratio scalediffuse="false">scale</aspectratio>
                        </
control>
                        
                        <
control type="button">
                        <
onfocus condition="!IsEmpty(ListItem.Trailer)">PlayMedia($INFO[ListItem.trailer],1)</onfocus>
                        <
onunfocus condition="Player.HasVideo">PlayerControl(Stop)</onunfocus>
                        <
texturefocus>-</texturefocus>
                        <
texturenofocus>-</texturenofocus>
                        
                        </
control>
                    </
focusedlayout

Thanks in advance
best regards
Reply
#2
Already solved the first problem adding this code

PHP Code:
<animation type="Focus">
    <
effect type="fade" delay="1" start="0" />
</
animation
Reply

Logout Mark Read Team Forum Stats Members Help
Arctic: Zephyr MOD game trailers0