v18 simple as possible extra menu items Estuary - 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: Estuary (https://forum.kodi.tv/forumdisplay.php?fid=260) +---- Thread: v18 simple as possible extra menu items Estuary (/showthread.php?tid=344593) |
simple as possible extra menu items Estuary - the_other_guy - 2019-06-10 trying to make this as simple as possible for the kodi wiki how the menu and widget screen are linked <item> menu item tag <label>$LOCALIZE[1]</label> name of menu in this one it is = to pictures <property name="menu_id">$NUMBER[4000]</property> this is the number linked to the groups <control type="group" id="4000"> <control type="grouplist" id="4001"> <param name="list_id" value="4100"/> <onclick>ActivateWindow(Pictures)</onclick> ActivateWindow or plugin or node <thumb>icons/sidemenu/pictures.png</thumb> image thumb icon <property name="id">pictures</property> is the same <visible>String.IsEqual(Container(9000).ListItem.Property(id),pictures)</visible> and <param name="id" value="pictures"/> <visible>!Skin.HasSetting(HomeMenuNoPicturesButton)</visible> not needed unless you are going to hide it </item> close item tag missing from pictures but needed for widget rows is <pagecontrol>menu_id010</pagecontrol> and it uses the same menu_id 010 and and is placed after <include>WidgetGroupListCommon</include> and after widget rows is <include content="WidgetScrollbar" condition="Skin.HasSetting(touchmode)"> <param name="scrollbar_id" value="menu_id010"/> </include> Example of how this works kids zone edit home.xml
content screen the <param name="list_id" value="30300"/> of the next widget needs to be higher then the one before <param name="list_id" value="30310"/> RE: simple as possible extra menu items Estuary - ontap - 2019-06-15 thanks for this , is a big help. RE: simple as possible extra menu items Estuary - Josefin - 2019-07-15 @the_other_guy Are the movies under "Kids Zone" located in an own folder? Or how are you filtering? RE: simple as possible extra menu items Estuary - the_other_guy - 2019-07-15 located in an own folder? Or how are you filtering? the best way is to make a node
this can be done with addons library node editor to link a widget to a node library://video/ your link to add to menu add node to favourites open favourites.xml you will get a link like <favourite name="row1">ActivateWindow(10025,"library://video/widgets/kids/row1/",return)</favourite> </favourites> <item> <label>kids zone</label> <onclick>ActivateWindow(10025,"plugin://plugin.video.youtube/kodion/search/list/",return)</onclick> <property name="menu_id">$NUMBER[30000]</property> <thumb>icons/sidemenu/kids.png</thumb> <property name="id">kidszone</property> </item> ActivateWindow(10025,"plugin://plugin.video.youtube/kodion/search/list/",return) replace with ActivateWindow(10025,"library://video/widgets/kids/row1/",return) from favourites RE: simple as possible extra menu items Estuary - Josefin - 2019-07-15 (2019-07-15, 14:10)the_other_guy Wrote: the best way is to make a nodeIs that a file I need to create, and if so, what file name should it have? Will the movies in this folder be mixed up with the ones shown under Movies from the menu? Separating the two is crucial. Maybe you can demo this with a video that you can upload to youtube? Its a little hard to follow. RE: simple as possible extra menu items Estuary - the_other_guy - 2019-07-16 <label>row1</label> <param name="widget_header" value="row1"/> ActivateWindow(10025,"library://video/widgets/kids/row1/",return) they can be any name as long as they match on all 3 lines RE: simple as possible extra menu items Estuary - lowbred - 2019-09-07 @the_other_guy Is there a way to get default library views (Fanart) and movie info with <onclick> without scraping to the library? RE: simple as possible extra menu items Estuary - lowbred - 2019-09-07 This is cool! Add/scrape to library and use playlists. Thanks the_other_guy RE: simple as possible extra menu items Estuary - Uatschitchun - 2019-11-28 I'm a little stuck here... Would you mind helping me on this one: https://forum.kodi.tv/showthread.php?tid=257378&pid=2903984#pid2903984 RE: simple as possible extra menu items Estuary - the_other_guy - 2019-11-29 @Uatschitchun What would be the easiest way for example with estuary (mod) drive if movies are separate folder eg. E:\Movies\Blu-Ray mpaa rating mpaa rating Rated G Rated NR Rated PG Rated PG-13 Rated R TV-14 TV-MA TV-PG tv-y 12 16 to use link to node <onclick>ActivateWindow(10025,"library://video/widgets/custommenu.xml/",return)</onclick> estuary (mod) library://video/widgets/custommenu.xml/ RE: simple as possible extra menu items Estuary - Prince Jambaya - 2023-03-11 Have been trying to implement the above for the past hour to no luck. Please be specific about the second part. I AM TRYING TO ADD ANIME SERIES. I have managed to make it show up on the home screen. Please show me what to do from here on out so that my anime show in the main menu like movies and series. Here is the screenshot. ;PS: I am using Kodi 20 on an Ubuntu 22.04 Laptop. The contents show though: |