Kodi Community Forum
Change opening focus to Video - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Change opening focus to Video (/showthread.php?tid=344613)



Change opening focus to Video - nmyshkin - 2019-06-11

When Kodi opened in versions before 18 it used to have Videos in "focus", meaning that shortcuts would show as well as the tabs below Videos. Now, with 18.2 it always seems to start with focus on System. I haven't changed my Confluence home layout in donkey's years, so it's not something I've changed.

How can I get the starting "focus" on Videos again?


RE: Change opening focus to Video - nmyshkin - 2019-06-15

(2019-06-11, 05:22)nmyshkin Wrote: When Kodi opened in versions before 18 it used to have Videos in "focus", meaning that shortcuts would show as well as the tabs below Videos. Now, with 18.2 it always seems to start with focus on System. I haven't changed my Confluence home layout in donkey's years, so it's not something I've changed.

How can I get the starting "focus" on Videos again?
The developer replied:Add this -
 
Code:
[size=small]<onload>SetFocus(9000,n)</onload>[/size]

after this line in the Home.xml -
Code:
[size=small]<defaultcontrol always="true">9000</defaultcontrol>[/size]

where n is the item you to focus in the menu minus 1 because the first one is 0.

Works like a charm!