Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Reworking window/game title tracking #1

Description

@cr08

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:

  1. Determine the longest running window logged during the session and use that for the rename.
  2. 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.
  3. Determine a better way to detect applications in Python that can be tailored to focus on games, even if not in the foreground.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions