Resource icon

OBS Python master_text_source_file v1.1

Increase file check delay max to int max.
Optimized script to accomodate multiple text sources being updated.
  • Update text source only if corresponding value was changed
  • Added option to update only when file was modified. Note that if this is enabled, values from the text file will only be applied if the modification timestamp of the file changes. Thus, if one were to edit a text source in OBS manually, the script won't change its value unless the file is saved again. But if one does not edit text sources manually, this should be kept enabled, as it will yield a performance improvement.
Defers script loading to after OBS initialization, thus preventing the log spam of not finding the sources on its first run (as scripts are loaded before the scene collection).

Huge thanks to Busterbackster on Discord for reporting performance issues!
Top