Custom Home Items
#1
Question 
Hi,

I have looked through the kodi wiki and found how to add custom items to my home screen, I have entered the code as follows:

To sources.xml

<source>
<name>Courses</name>
<path pathversion="1">/mnt/sdc1/Courses/</path>
<allowsharing>true</allowsharing>
</source>

And to home.xml

<item id="19">
<label>COURSES</label>
<onclick>ActivateWindow(Videos,FilesCourses,return)</onclick>
<icon>-</icon>
<thumb>-</thumb>
<visible>!Skin.HasSetting(HomeMenuNoMovieButton) + Library.HasContent(Movies)</visible>
</item>

But it isn't working, every time I click on the custom menu button it takes me to the home video directory. I have played with this for ages now, please help.

Cheers,

Matt
Reply
#2
please provide a Debug Log
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Missing comma?

<onclick>ActivateWindow(Videos,Files,Courses,return)</onclick>
Reply
#4
https://paste.ubuntu.com/23700083/

Hope that works, cheers for your help.

Also the comma suggestion has now taken me to the next screen where I wanted kodi to auto select courses.

Matt
Reply

Logout Mark Read Team Forum Stats Members Help
Custom Home Items0