summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorMatheus Oliveira <t2fema00@students.oamk.fi>2025-08-30 14:59:26 +0300
committerGitHub <noreply@github.com>2025-08-30 21:59:26 +1000
commit35b10394b68ce20ad14dde22f8ff27ba6a913c46 (patch)
tree66054f97b8c04c3e6644954db4e9fc6e4441a975 /run.sh
parent[CI] chore: update flake (diff)
downloadcaelestia-cli-35b10394b68ce20ad14dde22f8ff27ba6a913c46.tar.gz
caelestia-cli-35b10394b68ce20ad14dde22f8ff27ba6a913c46.tar.bz2
caelestia-cli-35b10394b68ce20ad14dde22f8ff27ba6a913c46.zip
record: fix wf-recorder audio flag and proc error handling (#48)
* fix(recording): Fix wf-recorder audio flag and improve process monitoring - Fix incorrect audio flag format for wf-recorder(Invalid whitespace) Changed from `-a <device>` to `--audio=<device>` as per wf-recorder docs: "Specify device like this: -a<device> or --audio=<device>" - Add fallback to IDLE audio sources Audio sources are typically in IDLE state when no media is playing. Now falls back to IDLE sources if no RUNNING sources are found, ensuring audio capture works when recording starts during silence but media plays later. - Improve process startup monitoring The 0.1s sleep was insufficient for reliable process detection on NVIDIA systems. Process would start and immediately die ~90% of the time when triggered via keybinds. Now shows immediate UI feedback then monitors for 3 seconds to ensure stable process startup while maintaining responsive user experience. * check returncode + timeout 3s -> 1s + format --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Diffstat (limited to 'run.sh')
0 files changed, 0 insertions, 0 deletions