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.
This commit is contained in:
1 parent
f3e44a2132
commit
86fc7cea2f
7 files changed
+82
-5
No files matched your search
@@ -124,7 +124,8 @@ The configuration file is stored at:
|
||||
- Linux: `~/.config/leaguerecorder/record-daemon/config.toml`
|
||||
- Windows: `%APPDATA%\leaguerecorder\record-daemon\config\config.toml`
|
||||
|
||||
Recordings and timelines go to `recordings` next to that `config` folder.
|
||||
Timelines go to `recordings/timelines` next to that `config` folder. Videos go to the `output.path`
|
||||
set below, which defaults to `recordings` beside it.
|
||||
|
||||
Set `RECORD_DAEMON_HOME` to move all of it, config, recordings, logs and the IPC pipe, under one
|
||||
directory. Scripts and end-to-end tests use it so a run never reads or writes the real settings.
|
||||
|
||||
Reference in new issue
Block a user