Kodi Community Forum
Win Selecting menu items - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174)
+---- Thread: Win Selecting menu items (/showthread.php?tid=283891)



Selecting menu items - jcvamp - 2016-07-26

Hi.

Is it possible to send a command via JSON-RPC to select a certain menu item in an addon? For example, say there is a menu item called 'Videos', could you send a command to select 'Videos' or, if 'Videos' is the third item in the menu, send a command to select the third menu item?

Thanks.


RE: Selecting menu items - jcvamp - 2016-07-27

Okay, I managed to read menus using 'Container.ListItem', but it doesn't work on the home screen. Any ideas on how to get a list of the home menu items and which is selected?