Commit Graph
4 Commits
Author SHA1 Message Date
vhaudiquet 86fc7cea2f record-daemon: keep a changed recordings folder usable
A folder typed into the settings screen was saved but never made. OBS
does not create directories, so the next recording failed at its
output and no timeline reached history. The daemon now makes the
folder when settings are saved and again before each recording
starts, rejects a folder it cannot use, and resolves it to an
absolute path so both programs name the same place.

Timelines now store the absolute path of their video next to the
file name, so a clip stays reachable after the recording folder
changes.
2026-11-23 18:24:20 +01:00
vhaudiquet eabc3780c9 record: keep a track per audio source and let the review mute them
The recorder put every source on one mixer track, so the file had one audio
stream and the review screen could not tell the game's sound from the
microphone or from Discord.

The daemon now gives each source a track: 1 for the game, 2 for the
microphone, then one per application in the settings, up to OBS's six. Every
track above the first gets an audio encoder and the output is told which
tracks to write, which is what libobs's muxer reads to lay the streams out in
track order. The timeline's new `audio_tracks` names what each stream holds,
with empty names for the tracks no source fed.

The app opens one player per stream, copied out of the clip into the audio
cache, and the transport carries a toggle per channel. A channel that is off
is neither heard nor kept: clip and highlight exports mix only the tracks
left on. Recordings made before this change have one stream and play as they
did.
2026-11-19 18:37:20 +01:00
vhaudiquet 2e463dab3a record-daemon: give scripted runs a home of their own
An end-to-end run of mine put its settings through updateSettings, which
wrote them to the user's real config: output path in %TEMP%, a "probe"
application, 30 fps. The next game recorded into %TEMP%, so it showed up
in the history with its metadata and no video beside it.

RECORD_DAEMON_HOME now moves the config directory, the recordings, the
logs and the IPC pipe under one directory. The app reads the same
variable, so a probe talks to the scratch daemon instead of the real one.
Default paths are unchanged.

The daemon also logs its config and recordings paths at startup, which is
the first thing to look at when a recording has no video.
2026-11-17 00:19:13 +01:00
vhaudiquet d6c0334369 record-daemon: initial commit 2026-03-19 17:48:07 +01:00