Kodi Community Forum
v19 where to get the data when the user clicks on an option when playing a movie - 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: v19 where to get the data when the user clicks on an option when playing a movie (/showthread.php?tid=375781)



where to get the data when the user clicks on an option when playing a movie - Espinete - 2024-01-14

I'm working on my own addon, Kodi remembers where I left a movie that I haven't finished watching, when I click on that movie again, Kodi 19 on Windows, launches an option box, 1_ trailer, 2_ start the minute I leave it to see or 3_ play from the beginning, the moment you click on 2_ start the minute I left it, let's say you enter my function at this very moment, I need to know what option the user chose, like the one who launches that box options is kodi 19, I don't know how I could access that variable in that options drawer.

Please could you help me? thank you.