app: show the game being recorded while it runs
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:
1 parent
b9d97d0724
commit
e546ab6969
6 files changed
+1522
-9
No files matched your search
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user