2016-01-22, 16:33
Hi there,
creating a custom dialog which would show informations from a file content is no problem indeed, but how can I make it update itself non-blocking periodically for, lets say, every second?
Similar to what I would do in Ajax with setInterval(<function/script to call>,<period in ms>)
Is there some strategy or other addons that have a solution like this?
For making it clear: Just push some notification from time to time is not really what I want. I want the user to be able to follow a progress similar to DialogProgress(), like mentioned in http://kodi.wiki/view/HOW-TO:Write_Pytho...rogressbar, but non-blocking, so that the user can come to this dialog from time to time but is able to do other things in kodi in the meantime.
Hope anyone of you can give me the right kickoff :-)
Thx
creating a custom dialog which would show informations from a file content is no problem indeed, but how can I make it update itself non-blocking periodically for, lets say, every second?
Similar to what I would do in Ajax with setInterval(<function/script to call>,<period in ms>)
Is there some strategy or other addons that have a solution like this?
For making it clear: Just push some notification from time to time is not really what I want. I want the user to be able to follow a progress similar to DialogProgress(), like mentioned in http://kodi.wiki/view/HOW-TO:Write_Pytho...rogressbar, but non-blocking, so that the user can come to this dialog from time to time but is able to do other things in kodi in the meantime.
Hope anyone of you can give me the right kickoff :-)
Thx