Adding a menu item
#1
Hi, I love this Skin but I guess my question really could apply to skins in general.

All I am trying to do is to add a menu option that says Laurel & Hardy - I have all of the Laurel and Hardy movies and want to keep them away from my regular movies. I have added them as a source in source.xml and have added the following code in the includes_home1 file.....

<item id="919">
<description>Laurel & Hardy</description>
<label>Laurel and Hardy</label>
<icon>home_art/videos.jpg</icon>
<thumb>$INFO[Skin.String(CustomVideos)]</thumb>
<onclick>ActivateWindow(Videos,LAUREL)</onclick>
</item>


I suspect the problem is LAUREL in the onclick line but I cant find anywhere how to point xbmc to look at a source in this line.

Can anyone help or point me in the direction of help please

Cheers
Reply
#2
You may be much better off adding the source to your Favorites and skip all the xml edits.
-stoli-
Reply
#3
Is it possible to add a Favorite to the home menu in Metropolis?
Reply
#4
No, but you can add it as a submenu item underneath Movies.
Reply
#5
If you have created LAUREL as a smart playlist, and make sure the file is named LAUREL.xsp (case is important), you can change the onclick line to:

<onclick>ActivateWindow(10025,special://profile/playlists/video/LAUREL.xsp,return)</onclick>
Reply

Logout Mark Read Team Forum Stats Members Help
Adding a menu item0