387 lines
22 KiB
XML
387 lines
22 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<includes>
|
|
<!--main hub video menu items-->
|
|
<include name="videoMenu">
|
|
<content>
|
|
<!--CD / DVD handling-->
|
|
<item>
|
|
<visible>System.HasMediaDVD</visible>
|
|
<label>341</label>
|
|
<label2/>
|
|
<onclick>XBMC.PlayDVD()</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>System.HasMediaDVD</visible>
|
|
<label>31135</label>
|
|
<label2/>
|
|
<onclick>EjectTray()</onclick>
|
|
</item>
|
|
<!--search-->
|
|
<item>
|
|
<visible>System.HasAddon(script.globalsearch)</visible>
|
|
<label>137</label>
|
|
<label2/>
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
<onclick>activateWindow(videos,movietitles)</onclick>
|
|
<onclick>RunScript(script.globalsearch,movies=true&tvshows=true&episodes=true)</onclick>
|
|
<onclick>right</onclick>
|
|
</item>
|
|
<!--latest items-->
|
|
<item>
|
|
<visible>Library.HasContent(Video)</visible>
|
|
<label>31005</label>
|
|
<label2/>
|
|
<onclick>activateWindow(VidvideoseoLibrary)</onclick>
|
|
<onclick>Skin.SetString(showRecentVideoItems,true)</onclick>
|
|
<onclick>Control.SetFocus(9998)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>System.GetBool(pvrmanager.enabled)</visible>
|
|
<label>31006</label>
|
|
<label2/>
|
|
<onclick>ActivateWindow(TVChannels)</onclick>
|
|
<onclick>Control.SetFocus(50)</onclick>
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>System.GetBool(pvrmanager.enabled)</visible>
|
|
<label>31112</label>
|
|
<label2/>
|
|
<onclick>ActivateWindow(TVGuide)</onclick>
|
|
<onclick>Control.SetFocus(10)</onclick>
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>System.GetBool(pvrmanager.enabled)</visible>
|
|
<label>19163</label>
|
|
<label2/>
|
|
<onclick>ActivateWindow(TVRecordings)</onclick>
|
|
<onclick>Control.SetFocus(50)</onclick>
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>Library.HasContent(Movies)</visible>
|
|
<label>342</label>
|
|
<label2/>
|
|
<onclick>ActivateWindow(videos,videodb://movies/titles,return)</onclick>
|
|
<onclick>control.setfocus(50)</onclick>
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>Library.HasContent(TVShows)</visible>
|
|
<label>20343</label>
|
|
<label2/>
|
|
<onclick>activateWindow(Videos,videodb://tvshows/titles,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/>
|
|
<label>31010</label>
|
|
<onclick>ActivateWindow(Videos,addons://sources/video/)</onclick>
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
<onclick>Control.SetFocus(50)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible/>
|
|
<label>1036</label>
|
|
<onclick>ActivateWindow(favourites)</onclick>
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible/>
|
|
<label>1214</label>
|
|
<onclick>ActivateWindow(Videos,sources://video/)</onclick>
|
|
<onclick>Control.SetFocus(50)</onclick>
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
</item>
|
|
</content>
|
|
</include>
|
|
|
|
<!--main hub music menu items-->
|
|
<include name="musicMenu">
|
|
<content>
|
|
<!--Now Playing-->
|
|
<item>
|
|
<visible>Player.HasAudio</visible>
|
|
<label>31136</label>
|
|
<label2/>
|
|
<onclick>activateWindow(1103)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>MusicPlayer.Offset(0).Exists</visible>
|
|
<label>31123</label>
|
|
<label2/>
|
|
<onclick>activateWindow(musicplaylist)</onclick>
|
|
</item>
|
|
<!--CD / DVD handling-->
|
|
<item>
|
|
<visible>System.HasMediaDVD</visible>
|
|
<label>341</label>
|
|
<label2/>
|
|
<onclick>XBMC.PlayDVD()</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>System.HasMediaDVD</visible>
|
|
<label>31135</label>
|
|
<label2/>
|
|
<onclick>EjectTray()</onclick>
|
|
</item>
|
|
<!--search-->
|
|
<item>
|
|
<visible>System.HasAddon(script.globalsearch)</visible>
|
|
<label>137</label>
|
|
<label2/>
|
|
<onclick>RunScript(script.globalsearch,artists=true&albums=true)</onclick>
|
|
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
|
|
<onclick>right</onclick>
|
|
</item>
|
|
<!--latest items-->
|
|
<item>
|
|
<visible>Library.HasContent(music)</visible>
|
|
<label>31005</label>
|
|
<label2/>
|
|
<onclick>ActivateWindow(music)</onclick>
|
|
<onclick>Skin.SetString(showRecentMusicItems,true)</onclick>
|
|
<onclick>Control.SetFocus(9998)</onclick>
|
|
</item>
|
|
<!--music-->
|
|
<item>
|
|
<visible>System.GetBool(pvrmanager.enabled)</visible>
|
|
<label>19021</label>
|
|
<label2/>
|
|
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
|
|
<onclick>ActivateWindow(radiochannels)</onclick>
|
|
<onclick>Control.SetFocus(50)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>Library.HasContent(Music)</visible>
|
|
<label>133</label>
|
|
<label2/>
|
|
<onclick>replaceWindow(music,musicdb://artists)</onclick>
|
|
<onclick>Control.SetFocus(50)</onclick>
|
|
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>Library.HasContent(Music)</visible>
|
|
<label>132</label>
|
|
<label2/>
|
|
<onclick>replaceWindow(music,musicdb://albums)</onclick>
|
|
<onclick>Control.SetFocus(50)</onclick>
|
|
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>Library.HasContent(Music)</visible>
|
|
<label>135</label>
|
|
<label2/>
|
|
<onclick>ReplaceWindow(music,musicdb://genres)</onclick>
|
|
<onclick>Control.SetFocus(50)</onclick>
|
|
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible>Library.HasContent(MusicVideos)</visible>
|
|
<label>20389</label>
|
|
<label2/>
|
|
<onclick>Skin.SetString(keepMusicMenuActive,true)</onclick>
|
|
<onclick>activateWindow(videos,videodb://musicvideos/titles/)</onclick>
|
|
<onclick>control.setfocus(50)</onclick>
|
|
<onclick>Skin.SetString(showRecentVideoItems,false)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible/>
|
|
<label>136</label>
|
|
<label2/>
|
|
<onclick>ReplaceWindow(music,special://musicplaylists/)</onclick>
|
|
<onclick>Control.SetFocus(50)</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)">ActivateWindow(music)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon1Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon1)])</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon1Type),audioPlaylist)">ActivateWindow(music,$INFO[Skin.String(customMusicAddon1)],return)</onclick>
|
|
<onclick>setfocus(50)</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)">ActivateWindow(music)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon2Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon2)])</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon2Type),audioPlaylist)">ActivateWindow(music,$INFO[Skin.String(customMusicAddon2)],return)</onclick>
|
|
<onclick>setfocus(50)</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)">ActivateWindow(music)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon3Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon3)])</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon3Type),audioPlaylist)">ActivateWindow(music,$INFO[Skin.String(customMusicAddon3)],return)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon3Type),audioPlaylist)">PlayerControl(play)</onclick>
|
|
<onclick>setfocus(50)</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)">ActivateWindow(music)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon4Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon4)])</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon4Type),audioPlaylist)">ActivateWindow(music,$INFO[Skin.String(customMusicAddon4)],return)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon4Type),audioPlaylist)">PlayerControl(play)</onclick>
|
|
<onclick>setfocus(50)</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)">ActivateWindow(music)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon5Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon5)])</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon5Type),audioPlaylist)">ActivateWindow(music,$INFO[Skin.String(customMusicAddon5)],return)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon5Type),audioPlaylist)">PlayerControl(play)</onclick>
|
|
<onclick>setfocus(50)</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)">ActivateWindow(music)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon6Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon6)])</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon6Type),audioPlaylist)">ActivateWindow(music,$INFO[Skin.String(customMusicAddon6)],return)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon6Type),audioPlaylist)">PlayerControl(play)</onclick>
|
|
<onclick>setfocus(50)</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)">ActivateWindow(music)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon7Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon7)])</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon7Type),audioPlaylist)">ActivateWindow(music,$INFO[Skin.String(customMusicAddon7)],return)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon7Type),audioPlaylist)">PlayerControl(play)</onclick>
|
|
<onclick>setfocus(50)</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)">ActivateWindow(music)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon8Type),audioAddon)">RunAddon($INFO[Skin.String(customMusicAddon8)])</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon8Type),audioPlaylist)">ActivateWindow(music,$INFO[Skin.String(customMusicAddon8)],return)</onclick>
|
|
<onclick condition="StringCompare(Skin.String(customMusicAddon8Type),audioPlaylist)">PlayerControl(play)</onclick>
|
|
<onclick>setfocus(50)</onclick>
|
|
</item>
|
|
<!--final bits and bobs-->
|
|
<item>
|
|
<visible/>
|
|
<label>31010</label>
|
|
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
|
|
<onclick>ReplaceWindow(music,Addons,return)</onclick>
|
|
<onclick>setfocus(50)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible/>
|
|
<label>1036</label>
|
|
<onclick>Skin.SetString(showRecentMusicItems,true)</onclick>
|
|
<onclick>ReplaceWindow(favourites)</onclick>
|
|
</item>
|
|
<item>
|
|
<visible/>
|
|
<label>1214</label>
|
|
<onclick>Skin.SetString(showRecentMusicItems,false)</onclick>
|
|
<onclick>ActivateWindow(Music,Files)</onclick>
|
|
<onclick>Control.SetFocus(50)</onclick>
|
|
</item>
|
|
</content>
|
|
</include>
|
|
<!--pictures menu-->
|
|
<include name="picturesMenu">
|
|
<content target="pictures">sources://pictures/</content>
|
|
</include>
|
|
</includes>
|