Skip to content

F1 replay file sources#12

Merged
codegefluester merged 2 commits intomainfrom
feat/f1-replay-source
Feb 11, 2026
Merged

F1 replay file sources#12
codegefluester merged 2 commits intomainfrom
feat/f1-replay-source

Conversation

@codegefluester
Copy link
Owner

@codegefluester codegefluester commented Feb 11, 2026

F1 allows users to save race replays, while the format is proprietary, it still makes sense to allow someone to detect them and then process/upload them further

Copilot AI review requested due to automatic review settings February 11, 2026 11:39
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Formula 1 race replay file watcher sources so the app can detect newly created .frr replay files in the user’s Documents replay folders, including a “latest installed” auto-detection option.

Changes:

  • Introduces a shared F1RaceReplaySourceBase with common path and default-option helpers for F1 replay monitoring.
  • Adds a general F1RaceReplaySource with optional custom path and “auto-detect latest installed” logic.
  • Adds year-specific sources for F1 2022–2025 with fixed default replay paths.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
GamesDat/Telemetry/Sources/Formula1/F1RaceReplaySourceBase.cs Shared base for F1 replay sources (path building + default option helpers).
GamesDat/Telemetry/Sources/Formula1/F1RaceReplaySource.cs Primary F1 replay source with defaulting + optional latest-installed detection.
GamesDat/Telemetry/Sources/Formula1/F12025RaceReplaySource.cs Year-specific source defaulting to the F1 25 replay folder.
GamesDat/Telemetry/Sources/Formula1/F12024RaceReplaySource.cs Year-specific source defaulting to the F1 24 replay folder.
GamesDat/Telemetry/Sources/Formula1/F12023RaceReplaySource.cs Year-specific source defaulting to the F1 23 replay folder.
GamesDat/Telemetry/Sources/Formula1/F12022RaceReplaySource.cs Year-specific source defaulting to the F1 22 replay folder.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codegefluester
Copy link
Owner Author

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Contributor

Copilot AI commented Feb 11, 2026

@codegefluester I've opened a new pull request, #13, to work on those changes. Once the pull request is ready, I'll request review from you.

… sources (#13)

* Initial plan

* Fix EnsurePath to return new instances and update foreach to Select

Co-authored-by: codegefluester <203914+codegefluester@users.noreply.github.com>

* Extract debounce delay constants for better maintainability

Co-authored-by: codegefluester <203914+codegefluester@users.noreply.github.com>

* Add clarifying comments and improve variable naming

Co-authored-by: codegefluester <203914+codegefluester@users.noreply.github.com>

* Document library default coupling in constant

Co-authored-by: codegefluester <203914+codegefluester@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: codegefluester <203914+codegefluester@users.noreply.github.com>
@codegefluester codegefluester merged commit 68cf7e7 into main Feb 11, 2026
1 check passed
@codegefluester codegefluester deleted the feat/f1-replay-source branch February 11, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants