Commit Graph

10 Commits

Author SHA1 Message Date
f897423f85 relocated config file into .config folder 2026-01-16 21:42:16 +00:00
52fe12386d refactor: remove unused imports from paths.py and state.py 2026-01-11 22:59:59 +00:00
23d576c438 refactor: extract state management into dedicated module and persist across restarts
Move state handling out of daemon and paths into a new state module.

- Introduce state.py for loading, writing, and maintaining state.json
- Persist recorded file metadata across daemon restarts
- Add cleanup of stale state entries when files are deleted
- Rename cleanup_old_files to cleanup_physical_files for clarity
- Ensure state file is created lazily if missing
2026-01-07 20:15:54 +00:00
661d29997d format top-level imports to be in order of length & remove unnecessary print statements 2025-12-18 22:38:37 +00:00
c26084091f ADD argparse import to clip.py, create example.config.toml, and reorganize imports in paths.py and video.py 2025-12-18 15:17:40 +00:00
6105a59a1d ADD configuration loading from user and default config files 2025-12-18 15:16:19 +00:00
36868a08ec ADD function signatures and remove unused recording commands 2025-12-18 01:16:59 +00:00
b7b57a259f PATCH missing function call from paths.py
Caused the following calls to treat as a direct function object instead of the return from the function
2025-12-17 23:56:26 +00:00
d98dc8fa70 MOVE write_state and load_state functions to paths.py
This is to encapsulate all path and state file related operations within the paths module.
2025-12-17 23:52:00 +00:00
35a68b04a8 ADD paths module
To automate the fetching of the state file in a safe, atomic way.
2025-12-17 23:49:50 +00:00