skin.pellucid/1080i/Includes_menuItems.xml

390 lines
18 KiB
XML
Raw Normal View History

2014-09-28 20:47:53 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<includes>
<include name="menuItems">
<control type="list" id="9000">
<posx>-14</posx>
<posy>180</posy>
<width>3-col</width>
<height>12-row</height>
<orientation>vertical</orientation>
<onleft>62</onleft>
<onright>9999</onright>
<onback>activateWindow(home)</onback>
<itemlayout width="4-col" height="43">
<control type="label">
<posx>14</posx>
<posy>0</posy>
<width>3-col-gutter</width>
<font>menuTitle</font>
<label>$INFO[ListItem.Label]</label>
<textcolor>unselected</textcolor>
</control>
</itemlayout>
<focusedlayout width="4-col" height="43">
<control type="label">
<visible>Control.HasFocus(9000)</visible>
<posx>1</posx>
<posy>0</posy>
<width>4-col</width>
<font>menuTitle</font>
<label>[ $INFO[ListItem.Label] ]</label>
<textcolor>selected</textcolor>
</control>
<control type="label">
<visible>!Control.HasFocus(9000)</visible>
<posx>14</posx>
<posy>0</posy>
<width>4-col</width>
<font>menuTitle</font>
<label>$INFO[ListItem.Label]</label>
<textcolor>unselected</textcolor>
</control>
</focusedlayout>
<include condition="[window.isactive(tvchannels) | window.isactive(tvguide) | window.isactive(TVRecordings)] + !Skin.String(keepMusicMenuActive)">videoMenu</include>
<include condition="window.isactive(pvr) + Skin.String(keepMusicMenuActive)">musicMenu</include>
<include condition="[Window.isactive(videolibrary) | window.isactive(videoplaylist)] + !Skin.String(keepMusicMenuActive)">videoMenu</include>
<include condition="[window.isactive(musiclibrary) | window.isactive(musicfiles) | window.isactive(musicplaylist)] | [[Window.isactive(videolibrary) | window.isactive(videoplaylist)] + Skin.String(keepMusicMenuActive)]">musicMenu</include>
</control>
</include>
<!--video menu items-->
<include name="videoMenu">
<content>
<!--Now Playing-->
<item>
<visible>Player.HasVideo</visible>
<label>31136</label>
<label2></label2>
<onclick>action(fullscreen)</onclick>
</item>
<!--CD / DVD handling-->
<item>
<visible>System.HasMediaDVD</visible>
<label>341</label>
<label2></label2>
<onclick>XBMC.PlayDVD()</onclick>
</item>
<item>
<visible>System.HasMediaDVD</visible>
<label>31135</label>
<label2></label2>
<onclick>EjectTray()</onclick>
</item>
<!--latest items-->
<item>
<label>31005</label>
<label2></label2>
<onclick>ActivateWindow(videolibrary)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,true)</onclick>
<onclick>Control.SetFocus(9000)</onclick>
</item>
<item>
<visible>System.GetBool(pvrmanager.enabled)</visible>
<label>31006</label>
<label2></label2>
<onclick>ActivateWindow(TVChannels)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
</item>
<item>
<visible>System.GetBool(pvrmanager.enabled)</visible>
<label>31112</label>
<label2></label2>
<onclick>ActivateWindow(TVGuide)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
</item>
<item>
<visible>System.GetBool(pvrmanager.enabled)</visible>
<label>19163</label>
<label2></label2>
<onclick>ActivateWindow(TVRecordings)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
</item>
<item>
<visible>Library.HasContent(Movies)</visible>
<label>342</label>
<label2></label2>
<onclick>ActivateWindow(videos,movietitles,return)</onclick>
<onclick>control.setfocus(50)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
</item>
<item>
<visible>Library.HasContent(TVShows)</visible>
<label>20343</label>
<label2></label2>
<onclick>ActivateWindow(Videos,TvShowTitles,return)</onclick>
<onclick>control.setfocus(50)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
</item>
<item>
<visible></visible>
<label>136</label>
<label2></label2>
<onclick>activateWindow(Videos,playlists,return)</onclick>
<onclick>control.setfocus(50)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
</item>
<!--custom video addons-->
<item>
<visible>!isempty(Skin.String(customVideoAddon1))</visible>
<label>$VAR[customVideoAddon1Title]</label>
<onclick condition="StringCompare(Skin.String(customVideoAddon1Type),videoAddon)">RunAddon($INFO[Skin.String(customVideoAddon1)])</onclick>
<onclick condition="StringCompare(Skin.String(customVideoAddon1Type),videoPlaylist)">ActivateWindow(Videos,$INFO[Skin.String(customVideoAddon1)],return)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick>Control.SetFocus(52)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customVideoAddon2))</visible>
<label>$VAR[customVideoAddon2Title]</label>
<onclick condition="StringCompare(Skin.String(customVideoAddon2Type),videoAddon)">RunAddon($INFO[Skin.String(customVideoAddon2)])</onclick>
<onclick condition="StringCompare(Skin.String(customVideoAddon2Type),videoPlaylist)">ActivateWindow(Videos,$INFO[Skin.String(customVideoAddon2)],return)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick>Control.SetFocus(52)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customVideoAddon3))</visible>
<label>$VAR[customVideoAddon3Title]</label>
<onclick condition="StringCompare(Skin.String(customVideoAddon3Type),videoAddon)">RunAddon($INFO[Skin.String(customVideoAddon3)])</onclick>
<onclick condition="StringCompare(Skin.String(customVideoAddon3Type),videoPlaylist)">ActivateWindow(Videos,$INFO[Skin.String(customVideoAddon3)],return)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick>Control.SetFocus(52)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customVideoAddon4))</visible>
<label>$VAR[customVideoAddon4Title]</label>
<onclick condition="StringCompare(Skin.String(customVideoAddon4Type),videoAddon)">RunAddon($INFO[Skin.String(customVideoAddon4)])</onclick>
<onclick condition="StringCompare(Skin.String(customVideoAddon4Type),videoPlaylist)">ActivateWindow(Videos,$INFO[Skin.String(customVideoAddon4)],return)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick>Control.SetFocus(52)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customVideoAddon5))</visible>
<label>$VAR[customVideoAddon5Title]</label>
<onclick condition="StringCompare(Skin.String(customVideoAddon5Type),videoAddon)">RunAddon($INFO[Skin.String(customVideoAddon5)])</onclick>
<onclick condition="StringCompare(Skin.String(customVideoAddon5Type),videoPlaylist)">ActivateWindow(Videos,$INFO[Skin.String(customVideoAddon5)],return)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick>Control.SetFocus(52)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customVideoAddon6))</visible>
<label>$VAR[customVideoAddon6Title]</label>
<onclick condition="StringCompare(Skin.String(customVideoAddon6Type),videoAddon)">RunAddon($INFO[Skin.String(customVideoAddon6)])</onclick>
<onclick condition="StringCompare(Skin.String(customVideoAddon6Type),videoPlaylist)">ActivateWindow(Videos,$INFO[Skin.String(customVideoAddon6)],return)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick>Control.SetFocus(52)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customVideoAddon7))</visible>
<label>$VAR[customVideoAddon7Title]</label>
<onclick condition="StringCompare(Skin.String(customVideoAddon7Type),videoAddon)">RunAddon($INFO[Skin.String(customVideoAddon7)])</onclick>
<onclick condition="StringCompare(Skin.String(customVideoAddon7Type),videoPlaylist)">ActivateWindow(Videos,$INFO[Skin.String(customVideoAddon7)],return)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick>Control.SetFocus(52)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customVideoAddon8))</visible>
<label>$VAR[customVideoAddon8Title]</label>
<onclick condition="StringCompare(Skin.String(customVideoAddon8Type),videoAddon)">RunAddon($INFO[Skin.String(customVideoAddon8)])</onclick>
<onclick condition="StringCompare(Skin.String(customVideoAddon8Type),videoPlaylist)">ActivateWindow(Videos,$INFO[Skin.String(customVideoAddon8)],return)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick>Control.SetFocus(52)</onclick>
</item>
<!--final bits and bobs-->
<item>
<visible></visible>
<label>31010</label>
<onclick>ActivateWindow(Videos,addons,return)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick>Control.SetFocus(59)</onclick>
</item>
<item>
<visible></visible>
<label>1036</label>
<onclick>ActivateWindow(favourites,return)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
</item>
</content>
</include>
<!--music menu items-->
<include name="musicMenu">
<content>
<!--Now Playing-->
<item>
<visible>Player.HasAudio</visible>
<label>31136</label>
<label2></label2>
<onclick>activateWindow(5001)</onclick>
</item>
<!--CD / DVD handling-->
<item>
<visible>System.HasMediaDVD</visible>
<label>341</label>
<label2></label2>
<onclick>XBMC.PlayDVD()</onclick>
</item>
<item>
<visible>System.HasMediaDVD</visible>
<label>31135</label>
<label2></label2>
<onclick>EjectTray()</onclick>
</item>
<!--latest items-->
<item>
<label>31005</label>
<label2></label2>
<onclick>ActivateWindow(MusicLibrary)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,true)</onclick>
</item>
<!--music-->
<item>
<visible>System.GetBool(pvrmanager.enabled)</visible>
<label>19021</label>
<label2></label2>
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
<onclick>ActivateWindowAndFocus(pvr, 33,0, 9999,1)</onclick>
</item>
<item>
<visible>Library.HasContent(Music)</visible>
<label>133</label>
<label2></label2>
<onclick>ActivateWindow(MusicLibrary,Artists,return)</onclick>
<onclick>Control.SetFocus(53)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
</item>
<item>
<visible>Library.HasContent(Music)</visible>
<label>132</label>
<label2></label2>
<onclick>ActivateWindow(MusicLibrary,Albums,return)</onclick>
<onclick>Control.SetFocus(55)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
</item>
<item>
<visible>Library.HasContent(Music)</visible>
<label>135</label>
<label2></label2>
<onclick>ReplaceWindow(MusicLibrary,Genres,return)</onclick>
<onclick>Control.SetFocus(53)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
</item>
<item>
<visible>Library.HasContent(Music)</visible>
<label>271</label>
<label2></label2>
<onclick>replaceWindow(MusicLibrary,top100,return)</onclick>
<onclick>Control.SetFocus(51)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
</item>
<item>
<visible>Library.HasContent(MusicVideos)</visible>
<label>20389</label>
<label2></label2>
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
<onclick>activateWindow(Videos,MusicVideoTitles,return)</onclick>
<onclick>control.setfocus(50)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
</item>
<item>
<visible></visible>
<label>136</label>
<label2></label2>
<onclick>ReplaceWindow(MusicFiles,Playlists,return)</onclick>
<onclick>Control.SetFocus(51)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
</item>
<!--custom music addons-->
<item>
<visible>!isempty(Skin.String(customMusicAddon1))</visible>
<label>$VAR[customMusicAddon1Title]</label>
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon1Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon1)])</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon1Type),audioPlaylist)">ActivateWindow(MusicLibrary,$INFO[Skin.String(customMusicAddon1)],return)</onclick>
<onclick>setfocus(51)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customMusicAddon2))</visible>
<label>$VAR[customMusicAddon2Title]</label>
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon2Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon2)])</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon2Type),audioPlaylist)">ActivateWindow(MusicLibrary,$INFO[Skin.String(customMusicAddon2)],return)</onclick>
<onclick>setfocus(51)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customMusicAddon3))</visible>
<label>$VAR[customMusicAddon3Title]</label>
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon3Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon3)])</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon3Type),audioPlaylist)">ActivateWindow(MusicLibrary,$INFO[Skin.String(customMusicAddon3)],return)</onclick>
<onclick>setfocus(51)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customMusicAddon4))</visible>
<label>$VAR[customMusicAddon4Title]</label>
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon4Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon4)])</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon4Type),audioPlaylist)">ActivateWindow(MusicLibrary,$INFO[Skin.String(customMusicAddon4)],return)</onclick>
<onclick>setfocus(51)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customMusicAddon5))</visible>
<label>$VAR[customMusicAddon5Title]</label>
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon5Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon5)])</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon5Type),audioPlaylist)">ActivateWindow(MusicLibrary,$INFO[Skin.String(customMusicAddon5)],return)</onclick>
<onclick>setfocus(51)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customMusicAddon6))</visible>
<label>$VAR[customMusicAddon6Title]</label>
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon6Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon6)])</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon6Type),audioPlaylist)">ActivateWindow(MusicLibrary,$INFO[Skin.String(customMusicAddon6)],return)</onclick>
<onclick>setfocus(51)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customMusicAddon7))</visible>
<label>$VAR[customMusicAddon7Title]</label>
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon7Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon7)])</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon7Type),audioPlaylist)">ActivateWindow(MusicLibrary,$INFO[Skin.String(customMusicAddon7)],return)</onclick>
<onclick>setfocus(51)</onclick>
</item>
<item>
<visible>!isempty(Skin.String(customMusicAddon8))</visible>
<label>$VAR[customMusicAddon8Title]</label>
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon8Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon8)])</onclick>
<onclick condition="StringCompare(Skin.String(customMusicAddon8Type),audioPlaylist)">ActivateWindow(MusicLibrary,$INFO[Skin.String(customMusicAddon8)],return)</onclick>
<onclick>setfocus(51)</onclick>
</item>
<!--final bits and bobs-->
<item>
<visible></visible>
<label>31010</label>
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
<onclick>ReplaceWindow(MusicFiles,Addons,return)</onclick>
<onclick>setfocus(55)</onclick>
</item>
<item>
<visible></visible>
<label>1036</label>
<onclick>Skin.SetString(showRecentMusicItems,true)</onclick>
<onclick>ReplaceWindow(favourites)</onclick>
</item>
</content>
</include>
</includes>