Kodi Community Forum

Full Version: Action on click on home movie menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I used to modified the <onclick> parameter for the movie menu on the home in the Include_Home.xml file.

But with the last update 3.11.15 there is no <onclick> parametre for the movie menu (item id 2).

In fact, I would like to open a smartplaylist when I clcik on the movie menu on the home.

Thank in advance for your answer
the code has been moved to Includes.xml

lookup this part:
Code:
<include name="movietitles-default">
    <onclick>ActivateWindow(VideoLibrary,movietitles,return)</onclick>
</include>
Sorry for hijacking the thread but I have a similar question. I want to change the default <onclick> action of the TV Shows so it displays a smart playlist when clicked. Where is the relevant commands in Transparency?
i guess it should be something like this...

in Includes_Home.xml, replace (2x):
Code:
<onclick>ActivateWindow(VideoLibrary,tvshowtitles,return)</onclick>
with:
Code:
<onclick>ActivateWindow(VideoLibrary,special://profile/playlists/video/[i]foo[/i].xsp,return)</onclick>
Thanks :-)
For anyone who can't find the lines, it is ActivateWindow(Videos,tvshowtitles,... in T! SVN.