skin.pellucid/shortcuts/overrides.xml

84 lines
3.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<overrides>
<doNotShareMenu />
<forcesettings>True</forcesettings>
<override action="ActivateWindow(1106)" group="mainmenu">
<condition>String.Contains(Container(9001).ListItem.Property(defaultID),videos)</condition>
<action>Skin.SetString(recentitems,video)</action>
<action>::ACTION::</action>
</override>
<override action="ActivateWindow(1106)" group="mainmenu">
<condition>String.Contains(Container(9001).ListItem.Property(defaultID),music)</condition>
<action>Skin.SetString(recentitems,music)</action>
<action>::ACTION::</action>
</override>
<override action="RunScript(script.globalsearch)">
<condition>!system.hasaddon(script.globalsearch)</condition>
<action>InstallAddon(script.globalsearch)</action>
<action>InstallAddon(plugin.program.autocompletion)</action>
</override>
<override action="RunScript(script.globalsearch)">
<condition>system.hasaddon(script.globalsearch)</condition>
<action>::ACTION::</action>
</override>
<override action="ActivateWindow(Videos,videodb://tvshows/titles/)" group="videosubmenu">
<condition>window.isactive(videos)</condition>
<action>Container.Update(videodb://tvshows/titles/)</action>
</override>
<override action="ActivateWindow(Videos,videodb://tvshows/titles/)" group="videosubmenu">
<condition>!window.isactive(videos)</condition>
<action>::ACTION::</action>
</override>
<override action="ActivateWindow(Music,musicdb://artists/)" group="musicsubmenu">
<condition>window.isactive(music)</condition>
<action>Container.Update(musicdb://artists/)</action>
</override>
<override action="ActivateWindow(Music,musicdb://artists/)" group="musicsubmenu">
<condition>!window.isactive(music)</condition>
<action>::ACTION::</action>
</override>
<override action="ActivateWindow(Music,musicdb://albums/)" group="musicsubmenu">
<condition>window.isactive(music)</condition>
<action>Container.Update(musicdb://albums/)</action>
</override>
<override action="ActivateWindow(Music,musicdb://albums/)" group="musicsubmenu">
<condition>!window.isactive(music)</condition>
<action>::ACTION::</action>
</override>
<override action="ActivateWindow(Music,musicdb://genres/)" group="musicsubmenu">
<condition>window.isactive(music)</condition>
<action>Container.Update(musicdb://genres/)</action>
</override>
<override action="ActivateWindow(Music,musicdb://genres/)" group="musicsubmenu">
<condition>!window.isactive(music)</condition>
<action>::ACTION::</action>
</override>
<override action="ActivateWindow(Videos,videodb://musicvideos/titles/)" group="musicsubmenu">
<condition>window.isactive(music)</condition>
<action>Container.Update(videodb://musicvideos/titles/)</action>
</override>
<override action="ActivateWindow(Videos,videodb://musicvideos/titles/)" group="musicsubmenu">
<condition>!window.isactive(music)</condition>
<action>::ACTION::</action>
</override>
<groupoverride group="videosubmenu" condition="true">control.setfocus(9999)</groupoverride>
<groupoverride group="musicsubmenu" condition="true">control.setfocus(9999)</groupoverride>
<groupoverride group="picturessubmenu" condition="true">control.setfocus(9999)</groupoverride>
</overrides>