Dec-16-2024, 05:24 AM
Greetings,
I have designed an app, in tkinter, that pulls live incident (call) data from my local fire department. My goal for this app is to be notified of a specific call type. My app does meet this purpose. I have that specific call type (row), shown in a treeview, change colors so it is easily recognized as well as it plays a sound, using "winsound". However, since this app refreshes call data every 45 seconds, as long as that specific call is still active, it plays a sound every 45 seconds. My goal is to be notified once for each occurrence of the call type. If the data was static, I could accomplish this easily, but since the data is updated every 45 seconds, I am not sure if this is even possible. Any suggestions?
Thank you in advance,
Kevin
I have designed an app, in tkinter, that pulls live incident (call) data from my local fire department. My goal for this app is to be notified of a specific call type. My app does meet this purpose. I have that specific call type (row), shown in a treeview, change colors so it is easily recognized as well as it plays a sound, using "winsound". However, since this app refreshes call data every 45 seconds, as long as that specific call is still active, it plays a sound every 45 seconds. My goal is to be notified once for each occurrence of the call type. If the data was static, I could accomplish this easily, but since the data is updated every 45 seconds, I am not sure if this is even possible. Any suggestions?
Thank you in advance,
Kevin