Custom submenu shortcut to "Favourites"
#1
I've been trying to create a submenu for the "TV Shows" category that will open the "Favourites" window, but so far have been unable to get anything other than an empty box.

I've been using the information here: http://wiki.xbmc.org/index.php?title=Window_IDs

I'd assume from reading that, that the appropriate parameter should be "xbmc.activatewindow(favourites)" but it doesn't actually open the "Favourites" window.

I've also tried "activatewindow(favourites)", "xbmc.ActivateWindow(favourites)", "xbmc.activatewindow(10134)", "activatewindow(10134)", "xbmc.activatewindow(134)" and "activatewindow(134)".

Any help would be appreciated.
Reply
#2
I would think ActivateWindow(Favourites) should be good. But I also got an empty box.
I looked in custom_SubMenuGeneral.xml to see how favourites worked.
And than I add this line to custom_SubMenuTVShows.xml.
You can find custom_SubMenuTVShows.xml in XBMC\skin\Rapier\720p

Code:
                <item id="a">
    <description>Favourites</description>
    <label>$LOCALIZE[1036]</label>
    <onclick>Dialog.Close(3006)</onclick>
    <onclick>ActivateWindow(Favourites)</onclick>
    <visible>!Skin.HasSetting(CustomizeGeneralSubMenuItem1)</visible>
</item>
Reply
#3
Thumbs Up 
Perfect. Thank you.
Reply

Logout Mark Read Team Forum Stats Members Help
Custom submenu shortcut to "Favourites"1