Commit Graph
94 Commits
Author SHA1 Message Date
vhaudiquet c7fee5beeb app: add applications from a dialog, with icons and a running state
The add row under the sources offered a type selector for device
sources, which the daemon cannot capture reliably, and nothing told a
right process name from a wrong one. A plus in the card header now
opens a dialog asking for a name and a process, and Add stays grey
until both are filled.

Every source shows its executable's icon, read from the running
process or found on disk when the program is closed, and a chip saying
whether that process is running. The process table is read off the UI
thread every couple of seconds while the audio tab is open, and the
disk search remembers its misses so a name costs one walk per run.

Settings drops Refresh and Settings from the title bar, where both only
repeated what the screen already shows.
2026-11-16 20:01:59 +01:00
vhaudiquet 3dfef1961d app: give the window a palette and the settings a quick tab
The colours were rune's neutral defaults, so nothing tied the screens
together. app/src/theme.rs now holds the palette: near-black surfaces
tinted blue, brass for what the user acts on, mint and coral kept for
results so champion art stays the loudest thing on screen. A test
fails the build if a colour that carries text drops under 4.5:1 in
either appearance.

Settings lose the empty General tab: Quick holds quality, the audio and
microphone switches, startup and the recordings folder; Recording keeps
the encoder and output; Audio is three cards instead of five; Advanced
absorbs the audio bitrate and reset. The back button moves to the left
of the title bar, where window navigation belongs, and text fields
right-align their value like every other control on the row.

The microphone picker lists the devices with "System default" first,
naming the default endpoint under the row.

Two smaller repairs found on the way: the app picked
record-daemon/target/release before debug, so it talked to a stale
daemon after a debug build (the newest build now wins), and --snap
forwarded its arguments to a running window instead of rendering.
2026-11-16 19:06:36 +01:00
vhaudiquet b82225ce08 record-daemon: enumerate real audio devices again
getAudioDevices handed out the hardcoded fallback pair because the real
enumeration killed the process: the device enumerator outlived its COM
apartment, so CoUninitialize() ran while an interface was still alive.
The enumeration now runs on a thread of its own, and the apartment is a
value declared after the COM objects so it is dropped after them.

The friendly name read used the wrong property key GUID, so every
device came back as "Input Device 1". With the right key the app gets
"Microphone (Insta360 Link 2C)" and the other endpoint names.

log_file also loses its -l short flag: clap's debug assertions reject
it because log_level already owns -l, and a debug build of the daemon
therefore exited on startup before serving a single command.
2026-11-16 19:06:29 +01:00
vhaudiquet 227aecb8f6 app: draw champion portraits, a 16:9 player and draggable scroll bars
Cards and the review header showed two initials where a champion
portrait belongs. Data Dragon is fetched from a worker thread and cached
under the user's cache directory, so the first sight of a champion puts
its face on the card and later runs read it from disk; offline, the tile
keeps its initials on the champion's colour.

The review screen put the clip in a small box above two list columns.
The clip now fills the window at 16:9 and the highlights and timeline
open beside it on demand, so nothing shrinks the video by default and
every event still marks the scrubber.

Scroll bars were a thumb drawn over the cards that could not be
dragged. They now sit in a strip the content leaves free, stay visible
while the list overflows, and scroll the viewport when dragged.
2026-11-16 18:24:39 +01:00
vhaudiquet 3d0cad3312 app: open the review once the history has loaded
`--scene review --live` opened the screen before the timelines were read
and stayed on "No game selected". The screen now remembers the request and
opens the first game that has events when the list arrives.
2026-11-15 23:50:02 +01:00
vhaudiquet 560f08cfb9 app: document the many-games scene and grey the unknown tile
A recording with no champion gets a neutral tile instead of a colour
picked from an empty name. The README lists `--scene many`, which repeats
the sample games to fill the list, and says why the scrollbar needs
`--at 1`.
2026-11-15 23:40:57 +01:00
vhaudiquet 17c73925bf app: draw the whole timeline under the review scrubber
Every event in the recording gets a tick: kills and deaths coloured by
whether they were the player's, objectives and LP changes in the accent,
game start and end muted. Highlights sit on the track as bands.

The summoner carries a #TAG that the live client data's KillerName does
not, so involvement never matched and every game showed 0 highlights.
Names are compared without the tag now.
2026-11-15 23:34:23 +01:00
vhaudiquet e7a36c3129 app: put automatic recording at the center of the window
The titlebar offered "Start recording" although the recorder starts with a
game; Settings takes that button's place. The two-tab sidebar becomes a
status bar that also names the encoder, and the blue square beside the name
is gone.

Match cards show a champion tile: initials on a colour derived from the
name until there is an image cache. History, review and settings lists get
a scrollbar that follows the viewport in the same frame.

Settings keeps the one switch a player can act on, launch at startup, and
says in plain words that recording starts with a game. The recorder's own
toggles and the client poll interval move to Advanced.
2026-11-15 23:34:12 +01:00
vhaudiquet 01a92f1edf app: clear the clippy warnings and the vendored ones
Our crate is warning-free under `cargo clippy --all-targets`. The two
vendored crates warned about an unreachable expression and a qualified
path; both are silenced at their crate root so a normal build prints
nothing.
2026-11-15 23:09:15 +01:00
vhaudiquet 744aa20496 add AGENTS.md with the checks and the commit style 2026-11-15 23:04:43 +01:00
vhaudiquet e351ee588a app: give the sample defeat a lost LP 2026-11-15 22:48:17 +01:00
vhaudiquet b06ec4be7b app: reach the daemon and load the real history
The pipe path was missing a backslash, so every client call went to a
path Windows never resolves and the app reported a dead daemon. With the
path fixed, --probe answers against the running daemon and parses its
settings with the app's model; a recording made through it lands on disk.

Reading a large history (288 timelines, 524 MB of raw API responses) took
eleven seconds, so the files are parsed on up to eight threads now. The
history refresh also runs in headless runs, and `--live` renders a
snapshot from the daemon and the real timelines instead of sample data.
2026-11-15 22:46:49 +01:00
vhaudiquet 8883e93d2b app: edit per-application volume in the audio tab
Each configured source gets a slider that sends updateAudioSource as it
moves, so a change is heard while dragging. The demo data now includes two
application sources and a microphone, which the screenshots use.

Also look the game up by recording id in the review screen, so a refresh
that adds a recording does not change what is open.
2026-11-15 22:14:23 +01:00
vhaudiquet 0377141e4f app: add native rune client for record-daemon
Replaces the Vue/Tauri front end with a rune app that speaks the daemon's
existing IPC protocol: settings (general, recording, audio), match history
and game review with a scrubber, event markers and ffmpeg highlight export.
Includes tray icon, launch at login, single instance, toasts, a headless
snapshot path for checking screens, and a cargo-packager NSIS config.

Rune is pinned to 4ddf696b0f and its three patched crates are vendored under
app/vendor, since a dependency's [patch.crates-io] does not apply to the app.

The daemon's OBS bootstrap never reached its IPC server on this machine, so
the live check is a `--probe` command; the wire format is covered by tests.
2026-11-15 21:53:44 +01:00
vhaudiquet d712c4ea85 add initial plan for the rune app 2026-11-13 01:17:59 +01:00
vhaudiquet ffe3523f26 add native app plan and decisions 2026-11-13 01:16:57 +01:00
vhaudiquet 2e98159083 fix: apply audio volumes, enumerate real devices, remove dead code
- Audio sources were created but never added to the scene, so mic,
  game and app audio never reached the output; all sources are now
  added with their configured volume via obs_source_set_volume
- getAudioDevices enumerates real WASAPI devices again instead of
  returning hardcoded defaults (the crash-isolation bypass)
- Recording module split: encoder selection and output building move
  to their own files; obs_context shrinks from 1556 to 464 lines
- Remove unused IPC (recordings/timeline/export commands), the
  CommandHandler trait, crash marker files, and the stats plumbing
  that was never wired to the frontend
- Deduplicate the LCU reconnect logic into connect_and_listen
2026-11-13 00:06:16 +01:00
vhaudiquet 4f9f84446d feat: add custom audio sources
- Add capture_apps list of AudioSourceConfig (application, deviceOutput
  or deviceInput) to AudioSettings, serialized in the settings JSON
- Add IPC commands getAudioDevices, addAudioSource, removeAudioSource
  and updateAudioSource
- obs_context builds wasapi sources for the microphone and configured
  apps alongside the game-capture source
- Settings.vue gains an audio sources tab with device dropdowns and
  per-source volume
- getAudioDevices temporarily returns hardcoded defaults while the
  WASAPI enumeration crash is investigated; crash marker files around
  IPC and native call sites are part of that investigation
2026-11-12 23:17:26 +01:00
vhaudiquet 7468bdf5de record-daemon: bundle OBS plugin data
rtmp-services and win-capture metadata JSON that libobs loads
at startup. Without them the game-capture plugin fails to
initialize.
2026-11-12 23:17:26 +01:00
vhaudiquet cfb49218f7 add raw-data recording plan
Document the decision to store raw API JSON in the daemon
and parse it in the tauri-app instead of mapping events to
typed Rust structs.
2026-11-12 23:17:21 +01:00
vhaudiquet 953a920a23 bump version (0.3.0 start)
record-daemon / Build, check and test (push) Successful in 2m21s
2026-06-16 22:05:22 +02:00
vhaudiquet 146d7a5fb9 fix: fix default.json permissions 2026-06-16 21:55:49 +02:00
vhaudiquet 45aac067f8 feat: add option to launch app at Windows startup
record-daemon / Build, check and test (push) Successful in 2m23s
- Add tauri-plugin-autostart dependency to Cargo.toml
- Add autostart permissions to capabilities/default.json
- Initialize autostart plugin in lib.rs with LaunchAgent config
- Add "Launch at Startup" toggle in Settings.vue Daemon tab with state management and async enable/disable functions
v0.2.0
2026-06-15 20:10:49 +02:00
vhaudiquet ba4ed63f4c fmt
record-daemon / Build, check and test (push) Successful in 2m38s
2026-06-15 19:52:38 +02:00
vhaudiquet 384ccda515 tryfix: reconnect to league client
record-daemon / Build, check and test (push) Failing after 7s
2026-06-05 21:17:15 +02:00
vhaudiquet 1c1b9c4d1a tryfix: reconnect to client on connection error
record-daemon / Build, check and test (push) Failing after 10s
2026-06-04 13:47:48 +02:00
vhaudiquet 642ad3e13a fix: enable assists by default on highlights
record-daemon / Build, check and test (push) Failing after 13m50s
2026-06-02 21:54:11 +02:00
vhaudiquet 3592b86a94 fmt
record-daemon / Build, check and test (push) Failing after 13m47s
2026-06-02 20:14:17 +02:00
vhaudiquet b49ed22665 fix: tryfix record-daemon disconnecting from league client 2026-06-02 20:14:01 +02:00
vhaudiquet abb35b8fac fix: tryfix multikill grouping
record-daemon / Build, check and test (push) Failing after 15m23s
2026-05-30 19:27:31 +02:00
vhaudiquet 598c5a2391 feat: record-daemon logs to a file 2026-05-30 10:41:40 +02:00
vhaudiquet 7f54e959b8 bump version (0.2.0 start)
record-daemon / Build, check and test (push) Successful in 2m3s
2026-05-18 17:19:17 +02:00
vhaudiquet df7cb6687e record-daemon: do not open a terminal on start
record-daemon / Build, check and test (push) Successful in 2m18s
v0.1.0
2026-05-18 14:02:35 +02:00
vhaudiquet a10176acd8 tauri-app: bundle dummy obs.dll
record-daemon / Build, check and test (push) Successful in 2m8s
2026-05-18 13:57:53 +02:00
vhaudiquet ab0b538162 record-daemon: fix obs bootstrapping
record-daemon / Build, check and test (push) Failing after 13m52s
2026-05-18 13:43:09 +02:00
vhaudiquet cd13af0b34 tauri-app: add account name in history view
record-daemon / Build, check and test (push) Successful in 2m8s
2026-05-17 23:07:08 +02:00
vhaudiquet 1f5cb450bf tauri-app: fix highlight entry size/scrollable
record-daemon / Build, check and test (push) Successful in 2m14s
2026-05-17 22:53:17 +02:00
vhaudiquet 2e7be439b0 tauri-app: add icons, package with record-daemon, change name
record-daemon / Build, check and test (push) Successful in 2m9s
2026-05-17 19:24:36 +02:00
vhaudiquet af6494e774 tauri-app: fix buffer_after for highlights to be 3 secs 2026-05-17 17:14:02 +02:00
vhaudiquet c99fae33b6 tauri-app: fix highlights including objectives
record-daemon / Build, check and test (push) Successful in 2m6s
2026-05-17 17:09:24 +02:00
vhaudiquet f9ff272798 tauri-app: use patch version from recorded game; or latest
record-daemon / Build, check and test (push) Successful in 2m11s
2026-05-17 16:25:04 +02:00
vhaudiquet 8138b542b7 tauri-app: add highlights mode
record-daemon / Build, check and test (push) Successful in 2m4s
2026-05-17 15:36:52 +02:00
vhaudiquet 36e1031bb1 tauri-app: fix video control bar 2026-05-17 14:52:04 +02:00
vhaudiquet 5f967f0393 tauri-app: spawn record-daemon on startup if not present
record-daemon / Build, check and test (push) Successful in 2m14s
2026-05-17 01:11:46 +02:00
vhaudiquet c61b79e84b tauri-app: allow editing record-daemon settings
record-daemon / Build, check and test (push) Successful in 2m28s
2026-05-16 23:52:52 +02:00
vhaudiquet 3279948e78 fix: enable audio capture 2026-05-16 22:27:33 +02:00
vhaudiquet fb889dcd71 tauri-app: only show stats for current player 2026-05-08 19:46:44 +02:00
vhaudiquet 2b4f3499cd tauri-app: filters, review on click, smaller video player
record-daemon / Build, check and test (push) Successful in 2m4s
2026-05-07 13:16:28 +02:00
vhaudiquet ff4d865c2a fix lp_change event values and display in front
record-daemon / Build, check and test (push) Successful in 3m14s
2026-05-07 00:24:02 +02:00
vhaudiquet fcfa55d0aa record raw events everywhere
record-daemon / Build, check and test (push) Waiting to run
2026-05-06 23:53:01 +02:00