Kodi Community Forum
Open videos with a click - 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: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: reFocus (https://forum.kodi.tv/forumdisplay.php?fid=72)
+----- Thread: Open videos with a click (/showthread.php?tid=50735)



Open videos with a click - tomh - 2009-05-10

Hi

I noticed this in the FAQ:
Quote:When I switch to library mode, the next time it's back to file mode. Or vice versa.
- On the homescreen pressing one of the menu items takes you to the file mode categories. When hovered on for example "videos" press the direction down button to access a submenu with various library related functions.
I kept accidentally hitting select instead of down so I edited the Home.xml to open the sub-menu when clicked (like it does when you press down).

In case anyone else has this problem, just find this bit in PAL/Home.xml that reads:
Code:
        <control type="button" id="1">

            <label>3</label>

            <posx>0</posx>

            <posy>0</posy>

            <onleft>6</onleft>

            <onright>2</onright>

            <onup>6</onup>

            <ondown>1100</ondown>

            <width>100</width>

            <height>44</height>

            <texturefocus>default-button.png</texturefocus>

            <texturenofocus>-</texturenofocus>

            <font>menubar</font>

            <textcolor>button-text</textcolor>

            <aligny>-</aligny>

            <align>center</align>

            <textoffsety>1</textoffsety>

            <onclick>ActivateWindow(MyVideoFiles)</onclick>

        </control>
And change it to:
Code:
        <control type="button" id="1">

            <label>3</label>

            <posx>0</posx>

            <posy>0</posy>

            <onleft>6</onleft>

            <onright>2</onright>

            <onup>6</onup>

            <ondown>1100</ondown>

            <width>100</width>

            <height>44</height>

            <texturefocus>default-button.png</texturefocus>

            <texturenofocus>-</texturenofocus>

            <font>menubar</font>

            <textcolor>button-text</textcolor>

            <aligny>-</aligny>

            <align>center</align>

            <textoffsety>1</textoffsety>

            <onclick>SetFocus(1100)</onclick>

        </control>

Hope this helps someone

Regards
Tom