Smart Replay Mover

Smart Replay Mover 2.7.4

Just a quick update regarding the script status.

I have released version 2.7.4 to address recent stability reports. I did my best to fix all currently identified errors.

Changelog v2.7.4:
- Critical: Fixed OBS freeze/hangs by implementing Notification Window Reuse.
- Fixed GDI memory leaks in the notification system.
- Optimized CPU usage during notifications.
- Added safety delay for recording start initialization.

Status:
I am taking a break from coding this Sunday. When I return, my primary focus will be improving the "Update Check" feature logic and UI.

Thanks for using my script!
 
Hey there, @SlonickLab!

I have popped in here to just ask some dev-related questions, since I saw your script, so I went and checked it out from the code-view.
Do you have any specific reason to keep the long lists of games/ignored software directly in your code?
From my view, it just makes the lua script very very very long and I am not sure about good points of this approach, so I would appreciate if you would share your PoV on this thing.

Other than that, thanks for the best approach for this type of code - using a native OBS script language.
I was suprised that there was no lua scripts to help you organize your recordings when I was looking for it the last time.

Wish you best on the further development of your script!
 
Hey there, @SlonickLab!

I have popped in here to just ask some dev-related questions, since I saw your script, so I went and checked it out from the code-view.
Do you have any specific reason to keep the long lists of games/ignored software directly in your code?
From my view, it just makes the lua script very very very long and I am not sure about good points of this approach, so I would appreciate if you would share your PoV on this thing.

Other than that, thanks for the best approach for this type of code - using a native OBS script language.
I was suprised that there was no lua scripts to help you organize your recordings when I was looking for it the last time.

Wish you best on the further development of your script!
Hey! Thanks for checking out the code and for your kind words.

To answer your question: I wasn't an expert in the OBS API when I started this. My main goal was to create a completely standalone script that anyone could just download, drop into OBS, and use immediately—without needing Python or complex setups.

I hardcoded the database because, during testing, I ran into issues trying to make the Lua script reliably read from an external file (relative paths were tricky). I couldn't find a stable solution at the time, so keeping everything in one file ensured it worked for everyone out of the box.

I’d love to separate the data from the logic in the future if I find a reliable way to handle external file I/O in OBS Lua.

Did that answer your question, or is there anything else you'd like to know?
 
Hey! Thanks for checking out the code and for your kind words.

To answer your question: I wasn't an expert in the OBS API when I started this. My main goal was to create a completely standalone script that anyone could just download, drop into OBS, and use immediately—without needing Python or complex setups.

I hardcoded the database because, during testing, I ran into issues trying to make the Lua script reliably read from an external file (relative paths were tricky). I couldn't find a stable solution at the time, so keeping everything in one file ensured it worked for everyone out of the box.

I’d love to separate the data from the logic in the future if I find a reliable way to handle external file I/O in OBS Lua.

Did that answer your question, or is there anything else you'd like to know?

Yea, thanks for the reply, I was just wondering if that was some lua language restriction that caused that to happen.
I don't know how the lua works with the paths, since I never written a line of code in it, so I'll take your word for it.

But if you accept tips, look into JSON files and their handling in lua, as normally JSON is used for similar purposes.
Maybe there is a way to get the relative location of script and use it?


In any way - I wish you good luck further down the roadmap.
Don't forget to take care of yourself, as working on things like that can be taxing.
 
Yea, thanks for the reply, I was just wondering if that was some lua language restriction that caused that to happen.
I don't know how the lua works with the paths, since I never written a line of code in it, so I'll take your word for it.

But if you accept tips, look into JSON files and their handling in lua, as normally JSON is used for similar purposes.
Maybe there is a way to get the relative location of script and use it?


In any way - I wish you good luck further down the roadmap.
Don't forget to take care of yourself, as working on things like that can be taxing.
Oh, here's the thing: when I started working on the script, I thought I'd make a simple one for my own tasks and post it, thinking maybe someone would like it. But when people started installing it and writing thank-you notes and ideas for improvement, I was completely immersed in the code for a month. Now I've taken a break because the script seems to be well written enough, and for now, I'm not worried about it. it's unlikely that anyone will have problems.
 
Back
Top