Missing lua API things

Keith Schneider

New Member
I have been working on a lua script for OBS. Some hopefully worth mentions here. Hopefully those in changes of the mainline code will see this and maybe resolve sometime.

1) Tried to implement obs_module_text so I could make the script properties work in different locales. Nope, this function is not available to lua. Invented my own ini file reader to try to work around.

2) Wanted to be able to get events. However, all the constants such as OBS_FRONTEND_EVENT_SCENE_CHANGED and OBS_FRONTEND_EVENT_SCENE_LIST_CHANGED etc, all are not available to lua. I can get the event signals but I get an event number and that number is not clear and ought be able to be tested against the constants. Have seen others mention this one elsewhere.
 
Top