I've been using script.skinshortcuts for my skin for years, but I have to admit that I don't understand anything about it...
So can someone please, please finally explain to me how to properly create a default menu?
1) The DATA-files in the 'shortcuts' subdirectory dictate the menu structure, right? Or is the structure defined by another, additional point?
2) In my specific case, the entry for Live TV shows the same image twice, both in the background and in the menu tile (see screenshot below). Why? 'icon' and 'thumb' refer to different images; all path information exist, so I expected two different images (and which is actually what I wanted).. The entry for this is as follows:
Code:
<shortcut>
<defaultID>livetv</defaultID>
<label>32022</label>
<label2>$ADDON[script.skinshortcuts 32022]</label2>
<icon>resource://resource.images.skinicons.wide/tvrecordings.png</icon>
<thumb>special://home/addons/resource.images.skinbackgrounds.titanium/resources/appearance.jpg</thumb>
<action>ActivateWindow(TVGuide)</action>
</shortcut>
3) <thumb> is the small picture in the menu button, <icon> is the large picture in the background ("fanart"). Is that right?
4) What do the path information, resource:// and special:// , mean? When do I use which?
5) How does the localization of the menu entries work? Here, for example, "Movies" is correctly translated into the selected national language ("Filme", the red curtain), but "Music" remains untranslated. Why?
Code:
<shortcut>
<defaultID>movies</defaultID>
<label>342</label>
<label2>$ADDON[script.skinshortcuts 32015]</label2>
<icon>resource://resource.images.skinicons.wide/movies.png</icon>
<thumb>special://home/addons/resource.images.skinbackgrounds.titanium/resources/curtains.jpg</thumb>
<action>ActivateWindow(Videos,videodb://movies/titles/,return)</action>
</shortcut>
<shortcut>
<defaultID>music</defaultID>
<label>10005</label>
<label2>$ADDON[script.skinshortcuts 32019]</label2>
<icon>resource://resource.images.skinicons.wide/music.png</icon>
<thumb>special://home/addons/resource.images.skinbackgrounds.titanium/resources/music.jpg</thumb>
<action>ActivateWindow(Music,musicdb://,return)</action>
</shortcut>
6) In addition, the entry for 'Weather' is completely ignored; the main menu does not contain it at all. What could be the reason for this?
7) My mainmenu.DATA.xml:
https://pastebin.com/0YibxRZP