Countdown timer - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Countdown timer (/showthread.php?tid=230766) |
Countdown timer - nero12 - 2015-06-28 Is it possible to do a countdown window in XBMC and only allow the user to proceed once the count down is complete. For example we want a user to read some text and hold him on that window for 30 seconds to ensure he has read it . is that possible with kodi ? RE: Countdown timer - pipcan - 2015-06-29 PHP Code: xbmc.sleep(30000) RE: Countdown timer - nero12 - 2015-06-30 Thank you RE: Countdown timer - enen92 - 2015-07-02 Code: import xbmc,xbmcgui This will wait for 30 seconds with 1 second interval showing the text on the first line and the remaining time on the 2nd line. Cheers RE: Countdown timer - nero12 - 2015-07-03 (2015-07-02, 13:58)enen92 Wrote: this was exactly what i was looking for, i greatly appreciate your help!!! really very useful for me. THanks ALOT! RE: Countdown timer - gattomatto69 - 2015-07-08 Very useful, thank you! |