Getting the Window ID - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Getting the Window ID (/showthread.php?tid=125149) |
Getting the Window ID - Goersch - 2012-03-09 Hello, some users of my scheduler http://gmps-scheduler.de asking for a xbmc support like I have already implemeted for MediaPortal: If xbmc is showing videos, photos or something other than "homescreen", my tool should not shutdown the system (and well, after I have installed xbmc I need this myself as well ). All I would need is a "window id"; means a number or description which dialog is currrently shown by xbmc. I looked thru some of the available tools and the easiest way for me would be to use a http interface to xbmc. But both I found (http api and json-rpc) do not provide this information (well, at least I couldn't find a parameter which returns the currently shown dialog). Would be helpful if one can give me a helping hand on this. May be it will be easy to get this function for json-rpc - may be there is already a very easy way to get the window id. Thanks ! Georg For the Admins: I hope this is the correct forum - would be nice if you move it to the correct forum if this one is wrong. |