support negative time in text source when using start delay
fix loading and unloading bugs
fix saving with trim front
@Exeldro Maybe I'm being real dense here, but I don't understand what you're saying. Unfortunately, my hotkey solution isn't working as reliably as I had hoped, so I'm looking at this again.@Telboon you can also set setting "execute_action" to "Load" in the replay source
data = obs.obs_data_create()
obs.obs_data_set_string(data,"execute_action","Load")
obs.obs_source_update(replay, data)
obs.obs_data_release(data)
Perfect, thank you. That makes perfect sense, and it is working much better than triggering a hotkey. I probably tried 40 different things and had this at one point, but I was adding the settings to the wrong object. Thanks again.@Telboon execute_action is a hidden setting, as soon as the replay source detects that setting is set it will try and execute the action and clear the setting.
Something like this untested list can be used:
Lua:data = obs.obs_data_create() obs.obs_data_set_string(data,"execute_action","Load") obs.obs_source_update(replay, data) obs.obs_data_release(data)