@
Kupo91
I added the new Top Menu button and also added a no delay option for the Panel view. To get this working before the next update, open the file ViewsPanel.xml and change
⮯
xml:
<include name="Panel_Dimmer">
<left>0</left>
<top>0</top>
<texture>darkgrey.png</texture>
<colordiffuse>$INFO[Skin.String(colortexture)]</colordiffuse>
<animation effect="fade" start="100" end="45" condition="true">Conditional</animation>
<include>Animation_Fade</include>
<visible>[String.Contains(skin.string(panel_seconds),1) + System.IdleTime(1) | String.Contains(skin.string(panel_seconds),2) + System.IdleTime(2) | String.Contains(skin.string(panel_seconds),3) + System.IdleTime(3) | String.Contains(skin.string(panel_seconds),4) + System.IdleTime(4) | String.Contains(skin.string(panel_seconds),5) + System.IdleTime(5)] + Control.HasFocus(62)</visible>
</include>
to
⮯
xml:
<include name="Panel_Dimmer">
<left>0</left>
<top>0</top>
<texture>darkgrey.png</texture>
<colordiffuse>$INFO[Skin.String(colortexture)]</colordiffuse>
<animation effect="fade" start="100" end="45" condition="true">Conditional</animation>
<include>Animation_Fade</include>
<visible>[String.Contains(skin.string(panel_seconds),0) | String.Contains(skin.string(panel_seconds),1) + System.IdleTime(1) | String.Contains(skin.string(panel_seconds),2) + System.IdleTime(2) | String.Contains(skin.string(panel_seconds),3) + System.IdleTime(3) | String.Contains(skin.string(panel_seconds),4) + System.IdleTime(4) | String.Contains(skin.string(panel_seconds),5) + System.IdleTime(5)] + Control.HasFocus(62)</visible>
</include>
Next, open IncludesTopMenu.xml and find
⮯
xml:
<control type="radiobutton" id="9290">
<include>TopMenuRadioButton</include>
<label>31486</label>
<onclick>Skin.ToggleSetting(nopanelvideocase)</onclick>
<selected>!Skin.HasSetting(nopanelvideocase)</selected>
<visible>Control.IsVisible(62) + !Skin.HasSetting(noviewpanelposter) + [Container.Content(movies) | Container.Content(tvshows)]</visible>
</control>
and add this above it
⮯
xml:
<control type="button" id="80135">
<include>TopMenuButton</include>
<label>$LOCALIZE[31621]:</label>
<label2>$VAR[panel_seconds]</label2>
<onclick condition="String.IsEqual(skin.string(panel_seconds),0)">Skin.SetString(panel_seconds,1)</onclick>
<onclick condition="String.IsEqual(skin.string(panel_seconds),1)">Skin.SetString(panel_seconds,2)</onclick>
<onclick condition="String.IsEqual(skin.string(panel_seconds),2)">Skin.SetString(panel_seconds,3)</onclick>
<onclick condition="String.IsEqual(skin.string(panel_seconds),3)">Skin.SetString(panel_seconds,4)</onclick>
<onclick condition="String.IsEqual(skin.string(panel_seconds),4)">Skin.SetString(panel_seconds,5)</onclick>
<onclick condition="String.IsEqual(skin.string(panel_seconds),5)">Skin.SetString(panel_seconds,0)</onclick>
</control>
Next, open IncludesVariables.xml and add this variable to the top.
⮯
xml:
<variable name="panel_seconds">
<value condition="Skin.String(panel_seconds,0)">$LOCALIZE[32201]</value>
<value condition="Skin.String(panel_seconds,1)">$LOCALIZE[31465]</value>
<value condition="Skin.String(panel_seconds,2)">$LOCALIZE[31466]</value>
<value condition="Skin.String(panel_seconds,3)">$LOCALIZE[31467]</value>
<value condition="Skin.String(panel_seconds,4)">$LOCALIZE[31468]</value>
<value condition="Skin.String(panel_seconds,5)">$LOCALIZE[31469]</value>
</variable>
Finally, open the strings.po language file and add this to the end.
⮯
xml:
msgctxt "#32201"
msgid "NO DELAY"
msgstr "NO DELAY"