You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 26, 2026. It is now read-only.
Currently the script is written to check the foreground window upon stopping the recording/replay and use the title found in that moment for the rename (as documented in the README). This becomes problematic for example if you manually click Stop Recording in OBS as it will see OBS as foreground and label it as a Manual Recording. This means this script is really only viable with a hotkey or external tool such as a Stream Deck where you can stop recording with a game remaining foreground.
A potential fix may be to continually track the foreground window for the duration of the recording, logging this somewhere. We can keep this within the existing timing loop which defaults to checking every 15s. Upon stopping the recording, we have a couple of potential options:
Determine the longest running window logged during the session and use that for the rename.
Include all logged unique window names in the recording filename (may need to add in exceptions for stuff like browsers that can change titles based on the page)
2a) Include the top <x> window names in the recording filename, count selectable by the user
2b) Include all logged unique window names, excluding common 'Desktop' applications.
Determine a better way to detect applications in Python that can be tailored to focus on games, even if not in the foreground.
Currently the script is written to check the foreground window upon stopping the recording/replay and use the title found in that moment for the rename (as documented in the README). This becomes problematic for example if you manually click Stop Recording in OBS as it will see OBS as foreground and label it as a Manual Recording. This means this script is really only viable with a hotkey or external tool such as a Stream Deck where you can stop recording with a game remaining foreground.
A potential fix may be to continually track the foreground window for the duration of the recording, logging this somewhere. We can keep this within the existing timing loop which defaults to checking every 15s. Upon stopping the recording, we have a couple of potential options:
2a) Include the top <x> window names in the recording filename, count selectable by the user
2b) Include all logged unique window names, excluding common 'Desktop' applications.