From e56326af801a7a0d638fde4c9dc8cc3bdeb98be1 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Sat, 14 Sep 2024 02:38:04 +0200 Subject: [PATCH] Revert "Removal of Skin Shortcuts" This reverts commit 3edb53df3818c910958c44de1caf1e1c82162e4a. --- 1080i/Home.xml | 3 +- 1080i/Includes.xml | 2 +- 1080i/Includes_hubMenu.xml | 8 +- 1080i/Includes_hubOptionsItems.xml | 32 ++ 1080i/Includes_menus.xml | 674 ----------------------------- 1080i/SkinSettings.xml | 36 ++ 1080i/script-skinshortcuts.xml | 155 +++++++ README.md | 1 + addon.xml | 3 +- shortcuts/gamesubmenu.DATA.xml | 17 + shortcuts/mainmenu.DATA.xml | 111 +++++ shortcuts/musicsubmenu.DATA.xml | 84 ++++ shortcuts/overrides.xml | 135 ++++++ shortcuts/picturessubmenu.DATA.xml | 17 + shortcuts/videosubmenu.DATA.xml | 70 +++ 15 files changed, 667 insertions(+), 681 deletions(-) delete mode 100644 1080i/Includes_menus.xml create mode 100644 1080i/script-skinshortcuts.xml create mode 100644 shortcuts/gamesubmenu.DATA.xml create mode 100644 shortcuts/mainmenu.DATA.xml create mode 100644 shortcuts/musicsubmenu.DATA.xml create mode 100644 shortcuts/overrides.xml create mode 100644 shortcuts/picturessubmenu.DATA.xml create mode 100644 shortcuts/videosubmenu.DATA.xml diff --git a/1080i/Home.xml b/1080i/Home.xml index 441af5b..02887c0 100644 --- a/1080i/Home.xml +++ b/1080i/Home.xml @@ -2,6 +2,7 @@ 9000 fadeInOut + RunScript(script.skinshortcuts,type=buildxml&mainmenuID=9001&group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu|gamesubmenu) PlayerControl(stop) AlarmClock(hidemenu,setfocus(9999),00:20,true) CancelAlarm(hidemenu,true) @@ -205,7 +206,7 @@ - menus-mainmenu + skinshortcuts-mainmenu diff --git a/1080i/Includes.xml b/1080i/Includes.xml index a005ee4..6d50a26 100644 --- a/1080i/Includes.xml +++ b/1080i/Includes.xml @@ -25,7 +25,7 @@ - + diff --git a/1080i/Includes_hubMenu.xml b/1080i/Includes_hubMenu.xml index a40a952..7bc789b 100644 --- a/1080i/Includes_hubMenu.xml +++ b/1080i/Includes_hubMenu.xml @@ -211,10 +211,10 @@ - menus-gamemenu - menus-picturemenu - menus-musicmenu - menus-videomenu + skinshortcuts-group-gamesubmenu + skinshortcuts-group-picturessubmenu + skinshortcuts-group-musicsubmenu + skinshortcuts-group-videosubmenu diff --git a/1080i/Includes_hubOptionsItems.xml b/1080i/Includes_hubOptionsItems.xml index 201f032..585b9f1 100644 --- a/1080i/Includes_hubOptionsItems.xml +++ b/1080i/Includes_hubOptionsItems.xml @@ -89,6 +89,14 @@ Mastermode system.ismaster system.haslocks + + + Edit video menu + colors/white.png + textActive + 12-col + + RunScript(script.skinshortcuts,type=manage&group=videosubmenu) @@ -170,6 +178,14 @@ PlayerControl(randomOn) PlayerControl(randomOff) + + + Edit music menu + colors/white.png + textActive + 12-col + + RunScript(script.skinshortcuts,type=manage&group=musicsubmenu) @@ -194,6 +210,14 @@ colors/white.png colors/white.png sendclick(pictures,4) + + + Edit pictures menu + colors/white.png + textActive + 12-col + + RunScript(script.skinshortcuts,type=manage&group=picturessubmenu) @@ -249,6 +273,14 @@ 31110 12-col sendclick(games,4) + + + Edit Games menu + colors/white.png + textActive + 12-col + + RunScript(script.skinshortcuts,type=manage&group=gamesubmenu) \ No newline at end of file diff --git a/1080i/Includes_menus.xml b/1080i/Includes_menus.xml deleted file mode 100644 index ee1766e..0000000 --- a/1080i/Includes_menus.xml +++ /dev/null @@ -1,674 +0,0 @@ - - - - - $NUMBER[1] - - DefaultAddon.png - - 31136 - 31136 - Player.HasMedia - action(FullScreen) - action(FullScreen) - action(FullScreen) - String.IsEqual(System.ProfileName,Master user) - num-31136 - mainmenu - False - - - $NUMBER[2] - - DefaultAddon.png - - 31221 - 31221 - System.HasMediaDVD - XBMC.PlayDVD() - XBMC.PlayDVD() - XBMC.PlayDVD() - String.IsEqual(System.ProfileName,Master user) - num-31221 - mainmenu - False - - - $NUMBER[3] - - DefaultAddon.png - - 31251 - 31251 - System.HasMediaDVD - EjectTray() - EjectTray() - EjectTray() - String.IsEqual(System.ProfileName,Master user) - num-31251 - mainmenu - False - - - $NUMBER[4] - - DefaultAddon.png - - 31249 - 31249 - [System.HasPVRAddon] + [PVR.HasTVChannels] - ActivateWindow(TVChannels) - ActivateWindow(TVChannels) - TVChannels - String.IsEqual(System.ProfileName,Master user) - num-31249 - mainmenu - False - - - $NUMBER[5] - - DefaultAddon.png - - 31250 - 31250 - [System.HasPVRAddon] + [PVR.HasRadioChannels] - ActivateWindow(Radiochannels) - ActivateWindow(Radiochannels) - Radiochannels - String.IsEqual(System.ProfileName,Master user) - num-31250 - mainmenu - False - - - $NUMBER[6] - - DefaultAddon.png - - movies - movies - [Library.HasContent(Movies)] + [Library.HasContent(Movies)] - ActivateWindow(Videos,videodb://movies/titles/) - ActivateWindow(Videos,videodb://movies/titles/) - videodb://movies/titles/ - control.setfocus(9103,0,absolute) - ActivateWindow(Videos,videodb://movies/titles/) - String.IsEqual(System.ProfileName,Master user) - movies - mainmenu - True - - - $NUMBER[7] - - DefaultAddon.png - - tvshows - tvshows - [Library.HasContent(TVShows)] + [Library.HasContent(TVshows)] - ActivateWindow(Videos,videodb://tvshows/titles/) - ActivateWindow(Videos,videodb://tvshows/titles/) - videodb://tvshows/titles/ - control.setfocus(9203,0,absolute) - ActivateWindow(Videos,videodb://tvshows/titles/) - String.IsEqual(System.ProfileName,Master user) - tvshows - mainmenu - True - - - $NUMBER[8] - - DefaultAddon.png - - 3 - 3 - !Library.HasContent(Video) - ActivateWindow(Videos,sources://video/) - ActivateWindow(Videos,sources://video/) - sources://video/ - String.IsEqual(System.ProfileName,Master user) - num-3 - mainmenu - False - - - $NUMBER[9] - - DefaultAddon.png - - 2 - 2 - DefaultAddon.png - [Library.HasContent(Music)] + [Library.HasContent(Music)] - ActivateWindow(Music,musicdb://albums/) - ActivateWindow(Music,musicdb://albums/) - musicdb://albums/ - control.setfocus(9998,0,absolute) - ActivateWindow(Music,musicdb://albums/) - String.IsEqual(System.ProfileName,Master user) - num-2 - mainmenu - False - - - $NUMBER[10] - - DefaultAddon.png - - 2--0 - 2--0 - !Library.HasContent(Music) - ActivateWindow(Music,Files) - ActivateWindow(Music,Files) - Files - String.IsEqual(System.ProfileName,Master user) - 2-0 - mainmenu - False - - - $NUMBER[11] - - DefaultAddon.png - - 31229 - 31229 - Library.HasContent(Music) - PlayerControl(Partymode(music)) - PlayerControl(Partymode(music)) - PlayerControl(Partymode(music)) - String.IsEqual(System.ProfileName,Master user) - num-31229 - mainmenu - False - - - $NUMBER[12] - - DefaultAddon.png - - 31232 - 31232 - ActivateWindow(games) - ActivateWindow(games) - games - String.IsEqual(System.ProfileName,Master user) - num-31232 - mainmenu - False - - - $NUMBER[13] - - DefaultAddon.png - - weather - weather - !String.IsEmpty(Weather.Plugin) - ActivateWindow(Weather) - ActivateWindow(Weather) - Weather - String.IsEqual(System.ProfileName,Master user) - weather - mainmenu - False - - - $NUMBER[14] - - DefaultAddon.png - - pictures - pictures - ActivateWindow(Pictures) - ActivateWindow(Pictures) - Pictures - String.IsEqual(System.ProfileName,Master user) - pictures - mainmenu - True - - - - - $NUMBER[1] - 15 - - DefaultAddon.png - - 31136 - 31136 - Player.HasMedia - control.setfocus(9999) - action(FullScreen) - action(FullScreen) - action(FullScreen) - String.IsEqual(System.ProfileName,Master user) - videosubmenu - True - - - $NUMBER[2] - 15 - - DefaultAddon.png - - 31215 - 31215 - [System.HasPVRAddon] + [PVR.HasTVChannels] - control.setfocus(9999) - ActivateWindow(TVChannels) - ActivateWindow(TVChannels) - TVChannels - String.IsEqual(System.ProfileName,Master user) - videosubmenu - True - - - $NUMBER[3] - 15 - - DefaultAddon.png - - 31112 - 31112 - [System.HasPVRAddon] + [PVR.HasTVChannels] - control.setfocus(9999) - ActivateWindow(TVGuide) - ActivateWindow(TVGuide) - TVGuide - String.IsEqual(System.ProfileName,Master user) - videosubmenu - True - - - $NUMBER[4] - 15 - - DefaultAddon.png - - 31165 - 31165 - [System.HasPVRAddon] + [PVR.HasTVChannels] - control.setfocus(9999) - ActivateWindow(TVRecordings) - ActivateWindow(TVRecordings) - TVRecordings - String.IsEqual(System.ProfileName,Master user) - videosubmenu - True - - - $NUMBER[5] - 15 - - DefaultAddon.png - - movies - movies - Library.HasContent(Movies) - control.setfocus(9999) - ActivateWindow(Videos,videodb://movies/titles/) - ActivateWindow(Videos,videodb://movies/titles/) - videodb://movies/titles/ - control.setfocus(9103,0,absolute) - Container.Update(videodb://movies/titles/) - control.setfocus(9103,0,absolute) - ActivateWindow(Videos,videodb://movies/titles/) - control.setfocus(9104,0,absolute) - Container.Update(videodb://movies/titles/) - control.setfocus(9104,0,absolute) - String.IsEqual(System.ProfileName,Master user) - videosubmenu - True - - - $NUMBER[6] - 15 - - DefaultAddon.png - - tvshows - tvshows - Library.HasContent(TVShows) - control.setfocus(9999) - ActivateWindow(Videos,videodb://tvshows/titles/) - ActivateWindow(Videos,videodb://tvshows/titles/) - videodb://tvshows/titles/ - control.setfocus(9203,0,absolute) - Container.Update(videodb://tvshows/titles/) - control.setfocus(9203,0,absolute) - ActivateWindow(Videos,videodb://tvshows/titles/) - control.setfocus(9204,0,absolute) - Container.Update(videodb://tvshows/titles/) - control.setfocus(9204,0,absolute) - String.IsEqual(System.ProfileName,Master user) - videosubmenu - True - - - $NUMBER[7] - 15 - - DefaultAddon.png - - 31088 - 31088 - control.setfocus(9999) - ActivateWindow(Videos,addons://sources/video/) - ActivateWindow(Videos,addons://sources/video/) - addons://sources/video/ - String.IsEqual(System.ProfileName,Master user) - videosubmenu - True - - - $NUMBER[8] - 15 - - DefaultAddon.png - - 136 - 136 - control.setfocus(9999) - ActivateWindow(Videos,special://videoplaylists/,return) - ActivateWindow(Videos,special://videoplaylists/,return) - special://videoplaylists/ - String.IsEqual(System.ProfileName,Master user) - videosubmenu - True - - - $NUMBER[9] - 15 - - DefaultAddon.png - - 744 - 744 - control.setfocus(9999) - ActivateWindow(Videos,sources://video/) - ActivateWindow(Videos,sources://video/) - sources://video/ - String.IsEqual(System.ProfileName,Master user) - videosubmenu - True - - - - - $NUMBER[1] - 16 - - $LOCALIZE[10005] - DefaultAddon.png - - 31136 - 31136 - Player.HasMedia - control.setfocus(9999) - activateWindow(1103) - activateWindow(1103) - activateWindow(1103) - String.IsEqual(System.ProfileName,Master user) - musicsubmenu - True - - - $NUMBER[2] - 16 - - $LOCALIZE[10005] - DefaultAddon.png - - 31248 - 31248 - MusicPlayer.HasNext - control.setfocus(9999) - activateWindow(musicplaylist) - activateWindow(musicplaylist) - activateWindow(musicplaylist) - String.IsEqual(System.ProfileName,Master user) - musicsubmenu - True - - - $NUMBER[3] - 16 - - $LOCALIZE[10005] - DefaultAddon.png - - 31031 - 31031 - Library.HasContent(Music) - control.setfocus(9999) - PlayerControl(Partymode(music)) - PlayerControl(Partymode(music)) - PlayerControl(Partymode(music)) - String.IsEqual(System.ProfileName,Master user) - musicsubmenu - True - - - $NUMBER[4] - 16 - - $LOCALIZE[10005] - DefaultAddon.png - - 31250 - 31250 - [System.HasPVRAddon] + [PVR.HasRadioChannels] - control.setfocus(9999) - ActivateWindow(Radiochannels) - ActivateWindow(Radiochannels) - Radiochannels - String.IsEqual(System.ProfileName,Master user) - musicsubmenu - True - - - $NUMBER[5] - 16 - - $LOCALIZE[10005] - DefaultAddon.png - - 133 - 133 - Library.HasContent(Music) - control.setfocus(9999) - Container.Update(musicdb://artists/) - Container.Update(musicdb://artists/) - Container.Update(musicdb://artists/) - control.setfocus(51,0,absolute) - ActivateWindow(Music,musicdb://artists/) - String.IsEqual(System.ProfileName,Master user) - musicsubmenu - True - - - $NUMBER[6] - 16 - - $LOCALIZE[10005] - DefaultAddon.png - - 132 - 132 - Library.HasContent(Music) - control.setfocus(9999) - ActivateWindow(Music,musicdb://albums/) - ActivateWindow(Music,musicdb://albums/) - musicdb://albums/ - control.setfocus(9998,0,absolute) - Container.Update(musicdb://albums/) - control.setfocus(9998,0,absolute) - ActivateWindow(Music,musicdb://albums/) - control.setfocus(9124,0,absolute) - Container.Update(musicdb://albums/) - control.setfocus(9124,0,absolute) - String.IsEqual(System.ProfileName,Master user) - musicsubmenu - True - - - $NUMBER[7] - 16 - - $LOCALIZE[10005] - DefaultAddon.png - - 135 - 135 - Library.HasContent(Music) - control.setfocus(9999) - Container.Update(musicdb://genres/) - Container.Update(musicdb://genres/) - Container.Update(musicdb://genres/) - ActivateWindow(Music,musicdb://genres/) - String.IsEqual(System.ProfileName,Master user) - musicsubmenu - True - - - $NUMBER[8] - 16 - - $LOCALIZE[10005] - DefaultAddon.png - - 136 - 136 - control.setfocus(9999) - activateWindow(Music,special://musicplaylists/) - activateWindow(Music,special://musicplaylists/) - activateWindow(Music,special://musicplaylists/) - String.IsEqual(System.ProfileName,Master user) - musicsubmenu - True - - - $NUMBER[9] - 16 - - $LOCALIZE[10005] - DefaultAddon.png - - musicvideos - musicvideos - Library.HasContent(MusicVideos) - control.setfocus(9999) - Container.Update(videodb://musicvideos/titles/) - Container.Update(videodb://musicvideos/titles/) - Container.Update(videodb://musicvideos/titles/) - ActivateWindow(Videos,videodb://musicvideos/titles/) - String.IsEqual(System.ProfileName,Master user) - musicsubmenu - True - - - $NUMBER[10] - 16 - - $LOCALIZE[10005] - DefaultAddon.png - - 31090 - 31090 - control.setfocus(9999) - ActivateWindow(Music,Addons) - ActivateWindow(Music,Addons) - Addons - String.IsEqual(System.ProfileName,Master user) - musicsubmenu - True - - - $NUMBER[11] - 16 - - $LOCALIZE[10005] - DefaultAddon.png - - 744 - 744 - control.setfocus(9999) - ActivateWindow(Music,Files) - ActivateWindow(Music,Files) - Files - String.IsEqual(System.ProfileName,Master user) - musicsubmenu - True - - - - - $NUMBER[1] - 17 - - DefaultShortcut.png - - 744 - 744 - control.setfocus(9999) - ActivateWindow(Pictures,files) - ActivateWindow(Pictures,files) - files - String.IsEqual(System.ProfileName,Master user) - picturessubmenu - True - - - $NUMBER[2] - 17 - - DefaultShortcut.png - - 1039 - 1039 - control.setfocus(9999) - ActivateWindow(Pictures,Addons,return) - ActivateWindow(Pictures,Addons,return) - Addons - String.IsEqual(System.ProfileName,Master user) - picturessubmenu - True - - - - - $NUMBER[1] - 18 - - DefaultShortcut.png - - 744 - 744 - ActivateWindow(Games,files) - ActivateWindow(Games,files) - files - String.IsEqual(System.ProfileName,Master user) - gamesubmenu - True - - - $NUMBER[2] - 18 - - DefaultShortcut.png - - 31234 - 31234 - ActivateWindow(Games,Addons,return) - ActivateWindow(Games,Addons,return) - Addons - String.IsEqual(System.ProfileName,Master user) - gamesubmenu - True - - - \ No newline at end of file diff --git a/1080i/SkinSettings.xml b/1080i/SkinSettings.xml index c80fc2e..db950ec 100644 --- a/1080i/SkinSettings.xml +++ b/1080i/SkinSettings.xml @@ -1,6 +1,7 @@ 8000 + RunScript(script.skinshortcuts,type=buildxml&mainmenuID=9001&group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu|gamesubmenu) globalBackground @@ -181,6 +182,41 @@ ReloadSkin() Skin.HasSetting(lowPowerMode) + + Container(8000).Hasfocus(2) + Edit home menu + 14-col + + RunScript(script.skinshortcuts,type=manage&group=mainmenu) + + + Container(8000).Hasfocus(2) + Edit video menu + 14-col + + RunScript(script.skinshortcuts,type=manage&group=videosubmenu) + + + Container(8000).Hasfocus(2) + Edit music menu + 14-col + + RunScript(script.skinshortcuts,type=manage&group=musicsubmenu) + + + Container(8000).Hasfocus(2) + Edit pictures menu + 14-col + + RunScript(script.skinshortcuts,type=manage&group=picturessubmenu) + + + Container(8000).Hasfocus(2) + Edit games menu + 14-col + + RunScript(script.skinshortcuts,type=manage&group=gamesubmenu) + Container(8000).Hasfocus(1) Extended Fanart diff --git a/1080i/script-skinshortcuts.xml b/1080i/script-skinshortcuts.xml new file mode 100644 index 0000000..7e89f5d --- /dev/null +++ b/1080i/script-skinshortcuts.xml @@ -0,0 +1,155 @@ + + + 211 + RunScript(script.skinshortcuts,type=buildxml&mainmenuID=9001&group=mainmenu|videosubmenu|musicsubmenu|picturessubmenu|gamesubmenu) + control.setfocus(9000) + + + globalBackground + + col-4-begin + row-5-begin + + modalDialogInOutVertical + + -12 + -12 + 1320 + 708 + colors/black.png + overlay + stretch + + + 0 + 0 + 18-col + 2-row + colors/white.png + highlight + stretch + + + 0 + 71 + 18-col + 1 + colors/black.png + stretch + + + + 24 + 0 + 18-col-gutter + 2-row + dialogTitle + + textActive + + + + + 0 + 84 + 276 + 17-row + 0 + + Add a new shortcut + 211 + 5-col-gutter + + + + Delete shortcut + 211 + 5-col-gutter + + + + Move shortcut up + 211 + 5-col-gutter + + + + Move shortcut down + 211 + 5-col-gutter + + + + Change shortcut label + 211 + 5-col-gutter + + + + Change shortcut action + 211 + 5-col-gutter + + + + Reset shortcuts + 211 + 5-col-gutter + + + + + + + 4-col + 84 + 14-col + 17-row + 300 + vertical + + + 24 + 0 + 13-col + 2-row + buttonTitle + center + textActive + + + + + + + 0 + 0 + 14-col + 2-row + colors/white.png + textActive + stretch + Conditional + + + 24 + 0 + 13-col + 2-row + buttonTitle + center + black + + + + + + + + DebugGrid + + WindowID + + + + diff --git a/README.md b/README.md index 6dd132f..9da364d 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ Built for the living room, Pellucid is a clean and carefully designed Kodi exper #### Additional features +- Skin Shortcuts addon support. - Full PVR / Live TV support Discussion thread: http://forum.kodi.tv/forumdisplay.php?fid=267 diff --git a/addon.xml b/addon.xml index df50932..2960f0b 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,8 @@ - + + diff --git a/shortcuts/gamesubmenu.DATA.xml b/shortcuts/gamesubmenu.DATA.xml new file mode 100644 index 0000000..821e23f --- /dev/null +++ b/shortcuts/gamesubmenu.DATA.xml @@ -0,0 +1,17 @@ + + + + + 32020 + DefaultAddonPicture.png + + ActivateWindow(Games,files) + + + + 32020 + DefaultAddonPicture.png + + ActivateWindow(Games,Addons,return) + + \ No newline at end of file diff --git a/shortcuts/mainmenu.DATA.xml b/shortcuts/mainmenu.DATA.xml new file mode 100644 index 0000000..699f40e --- /dev/null +++ b/shortcuts/mainmenu.DATA.xml @@ -0,0 +1,111 @@ + + + + Player.HasMedia + + 32034 + DefaultAddon.png + + action(FullScreen) + + + + 32034 + DefaultAddon.png + + XBMC.PlayDVD() + + + System.HasMediaDVD + + 32034 + DefaultAddon.png + + EjectTray() + + + PVR.HasTVChannels + + 32034 + DefaultAddon.png + + ActivateWindow(TVChannels) + + + PVR.HasRadioChannels + + 32034 + DefaultAddon.png + + ActivateWindow(Radiochannels) + + + Library.HasContent(Movies) + + 32034 + DefaultAddon.png + + ActivateWindow(Videos,videodb://movies/titles/) + + + Library.HasContent(TVshows) + + 32034 + DefaultAddon.png + + ActivateWindow(Videos,videodb://tvshows/titles/) + + + !Library.HasContent(Video) + + 32034 + DefaultAddon.png + + ActivateWindow(Videos,sources://video/) + + + Library.HasContent(Music) + + 32034 + DefaultAddon.png + + ActivateWindow(Music,musicdb://albums/) + + + !Library.HasContent(Music) + + 32034 + DefaultAddon.png + + ActivateWindow(Music,Files) + + + Library.HasContent(Music) + + 32034 + DefaultAddon.png + + PlayerControl(Partymode(music)) + + + + 32034 + DefaultAddon.png + + ActivateWindow(games) + + + + 32034 + DefaultAddon.png + + ActivateWindow(Weather) + + + + 32034 + DefaultAddon.png + + ActivateWindow(Pictures) + + diff --git a/shortcuts/musicsubmenu.DATA.xml b/shortcuts/musicsubmenu.DATA.xml new file mode 100644 index 0000000..5879709 --- /dev/null +++ b/shortcuts/musicsubmenu.DATA.xml @@ -0,0 +1,84 @@ + + + + Player.HasMedia + !window.isactive(1103) + + 10005 + DefaultAddon.png + + activateWindow(1103) + + + MusicPlayer.HasNext + + 10005 + DefaultAddon.png + + activateWindow(musicplaylist) + + + Library.HasContent(Music) + + 10005 + DefaultAddon.png + + PlayerControl(Partymode(music)) + + + PVR.HasRadioChannels + + 10005 + DefaultAddon.png + + ActivateWindow(Radiochannels) + + + + 10005 + DefaultAddon.png + + ActivateWindow(Music,musicdb://artists/) + + + + 10005 + DefaultAddon.png + + ActivateWindow(Music,musicdb://albums/) + + + + 10005 + DefaultAddon.png + + ActivateWindow(Music,musicdb://genres/) + + + + 10005 + DefaultAddon.png + + activateWindow(Music,special://musicplaylists/) + + + + 10005 + DefaultAddon.png + + ActivateWindow(Videos,videodb://musicvideos/titles/) + + + + 10005 + DefaultAddon.png + + ActivateWindow(Music,Addons) + + + + 10005 + DefaultAddon.png + + ActivateWindow(Music,Files) + + diff --git a/shortcuts/overrides.xml b/shortcuts/overrides.xml new file mode 100644 index 0000000..6a3273e --- /dev/null +++ b/shortcuts/overrides.xml @@ -0,0 +1,135 @@ + + + + + !system.hasaddon(script.globalsearch) + InstallAddon(script.globalsearch) + InstallAddon(plugin.program.autocompletion) + + + system.hasaddon(script.globalsearch) + ::ACTION:: + + + + !Skin.HasSetting(disableRecentMovies) + ::ACTION:: + control.setfocus(9103,0,absolute) + + + Skin.HasSetting(disableRecentMovies) + ::ACTION:: + + + !window.isactive(videos) + !Skin.HasSetting(disableRecentMovies) + ::ACTION:: + control.setfocus(9103,0,absolute) + + + window.isactive(videos) + !Skin.HasSetting(disableRecentMovies) + Container.Update(videodb://movies/titles/) + control.setfocus(9103,0,absolute) + + + !window.isactive(videos) + Skin.HasSetting(disableRecentMovies) + ::ACTION:: + control.setfocus(9104,0,absolute) + + + window.isactive(videos) + Skin.HasSetting(disableRecentMovies) + Container.Update(videodb://movies/titles/) + control.setfocus(9104,0,absolute) + + + + !Skin.HasSetting(disableRecentTVShows) + ::ACTION:: + control.setfocus(9203,0,absolute) + + + Skin.HasSetting(disableRecentTVShows) + ::ACTION:: + + + !window.isactive(videos) + !Skin.HasSetting(disableRecentTVShows) + ::ACTION:: + control.setfocus(9203,0,absolute) + + + window.isactive(videos) + !Skin.HasSetting(disableRecentTVShows) + Container.Update(videodb://tvshows/titles/) + control.setfocus(9203,0,absolute) + + + !window.isactive(videos) + Skin.HasSetting(disableRecentTVShows) + ::ACTION:: + control.setfocus(9204,0,absolute) + + + window.isactive(videos) + Skin.HasSetting(disableRecentTVShows) + Container.Update(videodb://tvshows/titles/) + control.setfocus(9204,0,absolute) + + + + window.isactive(music) + Container.Update(musicdb://artists/) + control.setfocus(51,0,absolute) + + + !window.isactive(music) + ::ACTION:: + + + + !Skin.HasSetting(disableRecentAlbums) + ::ACTION:: + control.setfocus(9998,0,absolute) + + + Skin.HasSetting(disableRecentAlbums) + ::ACTION:: + + + !window.isactive(music) + !Skin.HasSetting(disableRecentAlbums) + ::ACTION:: + control.setfocus(9998,0,absolute) + + + window.isactive(music) + !Skin.HasSetting(disableRecentAlbums) + Container.Update(musicdb://albums/) + control.setfocus(9998,0,absolute) + + + !window.isactive(music) + Skin.HasSetting(disableRecentAlbums) + ::ACTION:: + control.setfocus(9124,0,absolute) + + + window.isactive(music) + Skin.HasSetting(disableRecentAlbums) + Container.Update(musicdb://albums/) + control.setfocus(9124,0,absolute) + + + + window.isactive(music) + Container.Update(musicdb://genres/) + + + !window.isactive(music) + ::ACTION:: + + + + window.isactive(music) + Container.Update(videodb://musicvideos/titles/) + + + !window.isactive(music) + ::ACTION:: + + + control.setfocus(9999) + control.setfocus(9999) + control.setfocus(9999) + diff --git a/shortcuts/picturessubmenu.DATA.xml b/shortcuts/picturessubmenu.DATA.xml new file mode 100644 index 0000000..7328f75 --- /dev/null +++ b/shortcuts/picturessubmenu.DATA.xml @@ -0,0 +1,17 @@ + + + + + 32020 + DefaultAddonPicture.png + + ActivateWindow(Pictures,files) + + + + 32020 + DefaultAddonPicture.png + + ActivateWindow(Pictures,Addons,return) + + diff --git a/shortcuts/videosubmenu.DATA.xml b/shortcuts/videosubmenu.DATA.xml new file mode 100644 index 0000000..53f23a3 --- /dev/null +++ b/shortcuts/videosubmenu.DATA.xml @@ -0,0 +1,70 @@ + + + + Player.HasMedia + + 32034 + DefaultAddon.png + + action(FullScreen) + + + PVR.HasTVChannels + + 32014 + DefaultAddon.png + + ActivateWindow(TVChannels) + + + PVR.HasTVChannels + + 32014 + DefaultAddon.png + + ActivateWindow(TVGuide) + + + PVR.HasTVChannels + + 32014 + DefaultAddon.png + + ActivateWindow(TVRecordings) + + + + 32014 + DefaultAddon.png + + ActivateWindow(Videos,videodb://movies/titles/) + + + + 32014 + DefaultAddon.png + + ActivateWindow(Videos,videodb://tvshows/titles/) + + + + 32014 + DefaultAddon.png + + ActivateWindow(Videos,addons://sources/video/) + + + + 32014 + DefaultAddon.png + + ActivateWindow(Videos,special://videoplaylists/,return) + + + + 32014 + DefaultAddon.png + + ActivateWindow(Videos,sources://video/) + +