Add "wait" to let Status Bar update
Posted: 04 Aug 2020 05:46
Working on a script that steps through video files and calls ffmpeg to check some characteristics of each. I have a "status" command to show the current video filename in the Status Bar. However, after several videos this status display would freeze, even though the script continued to work through the videos and eventually reached its end. Looking at the status log later verified this. Also, pressing ESC would not stop the script until it was done. I've run into this several time before.
Finally solved it by adding a "wait 100;" command just before each "status" command. Now the Status Bar updates nicely and ESC can break execution as desired.
Info for those who might need it. I didn't find that this had been addressed in the Help or in the forum.
Finally solved it by adding a "wait 100;" command just before each "status" command. Now the Status Bar updates nicely and ESC can break execution as desired.
Info for those who might need it. I didn't find that this had been addressed in the Help or in the forum.