Commit Graph

100 Commits

Author SHA1 Message Date
87d1491f48 refactor(daemon): use obs-events for file fetching
Instead of depending on watchdog, use the OBS event which is faster.
2026-04-30 22:42:55 +01:00
d722935020 fix(state): ensure files are sorted by timestamp 2026-04-29 21:31:39 +01:00
96f20a714c refactor(ts_files): move ts file state fetch out of media 2026-04-29 21:31:24 +01:00
7b6780bd86 refactor(clip): extract media functions out of core
This is in preperation for testing
2026-04-29 20:15:35 +01:00
8cd766fc8d refactor(os): rename autostart classes to os classes
These perform OS-specific functions
2026-04-29 20:13:09 +01:00
441dc02080 refactor(autostart): abstract backend implementation for autostart 2026-04-28 22:58:48 +01:00
31e236dc46 fix(clip): use existing config instance for clip output path 2026-04-28 22:40:46 +01:00
3ef9955015 feat(autostart): implement daemon management features in cli 2026-04-28 22:35:03 +01:00
695320d30f feat(paths): add support for macOS and Windows paths 2026-04-28 21:58:18 +01:00
2516b9b299 fix(markers): allow markers to have no name 2026-04-28 21:02:47 +01:00
4121c99bb2 refactor(config): update access methods for configuration properties 2026-04-27 23:36:16 +01:00
b5dbccef85 fix(core): no existence validation of ts files 2026-04-27 23:16:23 +01:00
2ef48609d9 fix(state): shallow copy of empty state 2026-04-27 23:13:36 +01:00
d97f15233b fix(core): temp file written to cwd
Now uses temp file module to prevent race conditions.
2026-04-27 23:13:23 +01:00
e32f214a03 feat(cli): add cli options for changing config 2026-04-27 23:05:22 +01:00
bf29693e5a feat(config): implement configuration management 2026-04-27 23:03:34 +01:00
ef83b7a181 chore: improve logging and remove service existence check
If the service text needs to be updated, the additional check would not update the service.
2026-04-27 22:06:58 +01:00
974251d1db chore(core): validate clip configuration 2026-04-26 23:54:41 +01:00
b3c38c18e0 chore(daemon): daemon logs to file 2026-04-26 23:43:08 +01:00
0af780a95c feat(install): add autostart functionality for rewind daemon 2026-04-26 23:42:45 +01:00
8b3fe98423 feat(defaults): update default clip length to 60s
30 seconds felt ever so slightly too short for the average case, let's
update to 60 and see how it goes.
2026-04-11 22:31:30 +01:00
c58addff26 fix: remove aggressive OBS kill behaviour
Checks for existing OBS process, and tries to connect to that
2026-02-21 21:14:20 +00:00
81a7442d7a fix: add check for state file in load_state 2026-02-19 14:25:37 +00:00
b7bf04638a fix: remove debug print 2026-02-19 14:24:29 +00:00
3b21a5276e fix(state): marker and file cleanup overwriting it's own filtering 2026-02-19 14:22:17 +00:00
8ad9917754 feat(state): combine markers and file tracking into single state file 2026-02-19 14:12:43 +00:00
2bc838fa6d refactor(state): move state directory function into paths module 2026-02-19 12:20:44 +00:00
94758cff4e fix(state): make add_file_to_state idempotent 2026-02-15 20:45:36 +00:00
Dylan De Faoite
a0040b0f43 docs: add OBS rationale 2026-02-10 14:50:02 +00:00
a697ed6643 fix: handle clean shutdown upon SIGTERM 2026-02-05 20:09:56 +00:00
f40714c409 fix: double entry of OBS files into state upon startup 2026-02-05 20:04:38 +00:00
d6867c0df3 fix: incorrect progress bar tracking
Hacky workaround that involves working with FFMPEG negative timestamping
2026-02-02 23:58:53 +00:00
996568a43c fix: rounding tqdm warning 2026-02-02 21:55:17 +00:00
7a9a878871 fix: incorrect lib name in pyproject 2026-02-01 23:28:49 +00:00
4a16733362 fix: save output now takes timestamp of inital marker 2026-02-01 03:05:10 +00:00
12aaef0673 feat: default video dir in config 2026-02-01 02:57:13 +00:00
702973cc62 chore: round seconds output during clip creation 2026-02-01 01:18:19 +00:00
e36b9801db feat: add progress bar for video creation 2026-02-01 01:15:50 +00:00
ce2eb76646 chore: improve logging 2026-02-01 01:09:35 +00:00
b209a15dc3 chore: remove unused import 2026-02-01 01:03:16 +00:00
91a7695b02 fix: remove unused shutdown handler 2026-01-29 00:16:03 +00:00
699e8188dc chore: add logging to daemon 2026-01-29 00:14:53 +00:00
2021cd3809 fix: incorrect file deletion logic 2026-01-28 20:35:33 +00:00
6d11eab503 fix: incorrect file removal loop 2026-01-27 23:34:09 +00:00
338de19d57 refactor: remove accidental print statment 2026-01-27 23:31:50 +00:00
eb47077b8c fix: markers only update upon calling rewind list - now update in daemon 2026-01-27 23:30:23 +00:00
aae6540678 prevent trackback log upon error by wrapping cli in try-catch 2026-01-25 00:08:04 +00:00
47bbfb9607 refactor & silence ConnectionRefusedError when attempting to connect to OBS instance 2026-01-18 23:37:49 +00:00
7a2b4e806f removed unnecessary comments 2026-01-18 23:31:23 +00:00
47fe0e37e9 Add check for existing OBS instance
.wait() is required as the command does not finish in time and will kill the new OBS instance
2026-01-18 23:29:24 +00:00