Kodi Community Forum
Solved Where is input selection handled in Kodi? - 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)
+--- Thread: Solved Where is input selection handled in Kodi? (/showthread.php?tid=375067)



Where is input selection handled in Kodi? - Stuggy - 2023-11-17

As a test I want to send a message to my C++ PVR addon.

The existing calls are for the areas that a PVR addon is related to.  So I obviously get calls to getchannels etc.

What I would like to try as a test is modifying Kodi to send a message to my addon when a movie is selected to play.  I can't yet work out where the input selection is taken care of to try and add in a message to the addon.


RE: Where is input selection handled in Kodi? - Stuggy - 2023-11-18

I worked it out.  For my purposes the call goes to bool CApplication:TonguelayFile(CFileItem item, const std:Confusedtring& player, bool bRestart) in Application.cpp.

So now onward to see if I can send a message to the addon.