app: show the game being recorded while it runs
record-daemon / Check and lint (Linux) (push) Successful in 1m13s
record-daemon / Build (Windows x64) (push) Successful in 1m56s

The daemon's protocol says whether it is recording and which game it is
on, and nothing else, so the app could not say what was being recorded
or stop it.

A Recording screen now opens by itself when a recording starts, and at
launch if one is already running, and a button in the title bar brings it
back from any other screen. It shows the champion, the queue and the
summoner, when the game began, two clocks, the live scoreline and both
teams, and the clip being written as it grows on disk. The game's own
data is read once a second on a thread of its own, from the endpoint the
daemon polls for its events, which needs no login. Without an answer the
screen keeps what it has and says it is waiting.

Stop recording and Stop and delete end the game. A stop over the
protocol is not the stop the recorder gives a game that ends by itself.
The video lands in a new timeline while the open one is left behind,
which showed in the match history as a game that never happened, next to
one with no champion. Stopping from the app closes the open timeline into
the one holding the video, and deleting removes the clip and both. The
history skips timelines that have no end meanwhile, so a recording in
progress is not listed as a game.
This commit is contained in:
vhaudiquet committed 2026-11-23 22:46:44 +01:00
1 parent b9d97d0724
commit e546ab6969
6 files changed
+1522 -9

No files matched your search

+3 -1
View File
@@ -1,7 +1,9 @@
//! The screens: settings, match history, the clips grid, one open clip and the game review.
//! The screens: settings, match history, the clips grid, one open clip, the game review and
//! the recording in progress.
pub mod clip;
pub mod clips;
pub mod history;
pub mod recording;
pub mod review;
pub mod settings;
File diff suppressed because it is too large. Load diff