2012-02-11, 00:51
Rewriting the home screen for Alaska HD I thought I'd use this feature so I could reduce the number of buttons/lists the previous version used for the submenus - accessed by pressing Up or Down from the main control.
So I've used a single list for each panel (group) and because some of them have items (ie Recently Added) that I want to be available by scrolling up from the default control (ie Movies) I've added
<defaultcontrol [COLOR="red"]always="true">9</defaultcontrol>[/COLOR] - where item 9 is the main control and items 1-8 are the recently added items.
This worked fine during testing until I restarted XBMC and for some reason the visible conditions attached to items 1-8 (ie <visible>!IsEmpty(Window.Property(LatestMovie.1.Title))</visible>) mess the default control up when the home screen first loads resulting in the top most recently added movie gaining focus (id=1) but a refresh or entering and exiting any window fixes it.
I can supply code if needed, thanks.
So I've used a single list for each panel (group) and because some of them have items (ie Recently Added) that I want to be available by scrolling up from the default control (ie Movies) I've added
<defaultcontrol [COLOR="red"]always="true">9</defaultcontrol>[/COLOR] - where item 9 is the main control and items 1-8 are the recently added items.
This worked fine during testing until I restarted XBMC and for some reason the visible conditions attached to items 1-8 (ie <visible>!IsEmpty(Window.Property(LatestMovie.1.Title))</visible>) mess the default control up when the home screen first loads resulting in the top most recently added movie gaining focus (id=1) but a refresh or entering and exiting any window fixes it.
I can supply code if needed, thanks.