Comprehensive Stopwatch & Countdown Timer

OBS Lua Comprehensive Stopwatch & Countdown Timer 5.8

  • Added Suffix Text for Countdown timer
  • Added timer format option to remove split seconds only (thank you GuitarEC for the feedback)
  • Fixed minor bug
  • Code cleanup
  • Fixed an issue where LineBreaks ('\n') are not captured
  • Fixed an issue for 'Countdown timer' when set to 'Specific Date' to allow the user the option to show / hide the leading / remaining days on the clock (Thank you nekobaby for reporting the issue)
  • Fixed an issue where the days will be Zero when changing 'Countdown timer' to 'Specific Date' causing the timer to break.

To include a NewLine / LineBreak in the Day/s Text format add '\n' else it will be printed on a single line.

Important Note: Please make sure to format the Day/s Text format to include the symbol '#' where you wish the day numeric value to be placed.

Sample.png
  • Like
Reactions: araso1991
Please backup your old file before replacing it. Report any issues (:

Added New Feature:

- Countdown, Add a Specific Date
  • Define a specific date & time at which the timer must expire
  • The Timer will display " x Day/s 00:00:00,00" (Days Remaining & Hours:Minutes:Seconds,Splitseconds)
Stopwatch.png
Added new Feature:

1) Timer Cycle List for Source/Scene

Cycle Scene List: (used with Source Dock)

A.gif


Cycle Source List: (used with Source Dock)

B.gif


A.png


'Next Scene' option that activates when timer ends now include a new option to define either a "source list" or "scene list" that will have an infinate cycle. Everytime the timer ends it will reset and switch to the next item restarting the timer. To stop the cycle the timer needs to be stopped. This can be done with a hotkey.

Note: To work with sources, the sources should be nested in a group and the "group name" must be listed in the Source Toggler. This is required so that only the source needed is visible.

This feature is useful for someone who would like to set a timer that will cycle through scenes or sources, for example if you have several different cameras and would like to cycle through them at a specific interval.

Important: The list have to be manually entered and will only work if the source name was correctly defined.

2) Show Current Source Name

There is also a new text source config, that if selected, will show the source/scene name for the current active source/scene.

3) Some minor bug fixes
* Fixed Hotkeys for Script Duplication
* Fixed Media Play to complete when timer ended
* Fixed Looped Media Playback limitation
* Updated fix for User Common FPS (Used to calculate the Stopwatch Milliseconds)

Thank you @BlueGuitarCL for the valuable feedback (:
Highly recommended to update

Update includes:
  • Critical bug fix - if user defined video Max FPS
  • Memory Leak Fix
  • User Experience Improvements
Fixed switching visibility for nested scenes as source.
1) Added Function, Timer Prefix: A Text Prefix to the Timer while the timer is active
2) Quality of life improvements
3) Fixed bug: Prevent recording if Timer Type is not Countdown
1) Performance optimization update for handling Text Sources
2) Fixed a calculation formula handling timing for media state
3) Media Visibility switch optimization.
Fixed Activating/Deactivating Sources placed inside Groups type Sources
Small fix and user experience improvements
* The action to start media ('caution') was fixed.
Top