Commit Graph

7 Commits

Author SHA1 Message Date
d7f783834f fix(voice_to_text_tray): use get() method for safer access to CURRENT_PRESET mode
Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:30:48 +02:00
da76f9420b fix(voice_to_text_tray): update journal timestamp format to include seconds
Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:24:10 +02:00
f33b583aec feat(voice_to_text_tray): enhance journal creation with error handling and timestamp formatting
Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:21:24 +02:00
0a808a8471 feat(voice_to_text_tray): add journal saving for transcription results
- Add functionality to save transcription results to a journal file.
- Use current date and time to organize entries in the journal.
- Retain clipboard copy behavior for non-journal modes.
- Enhance error handling for journal writing operations.

Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:18:22 +02:00
b5281b393c refactor(configuration): simplify import paths
- Update import statements to remove redundant `src` prefix.
- Improve clarity and maintainability of module references.

Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:07:10 +02:00
a569bb6206 refactor(configuration): use pathlib for config path handling
- Replace `os` with `pathlib` for defining the default config path.
- Simplify configuration file path management for readability.
- Improve code maintainability by centralizing the default path.

Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:03:51 +02:00
5b343b68cf feat(pyvtt): add CI pipeline and restructure project
All checks were successful
Build and Publish / build-and-publish (push) Successful in 21s
- Add GitHub Actions workflow for building and publishing packages.
- Introduce `pyproject.toml` for project metadata and dependency management.
- Remove `requirements.txt` in favor of Poetry for dependency handling.
- Restructure source files under `src/pyvtt` for better organization.
- Enhance `notify.py` with sound playback and improve error handling.
- Update `voice_to_text_tray.py` to support dynamic configuration reload.
- Add `.vscode/settings.json` for improved IDE configuration.
- Update `.gitignore` to exclude build artifacts.

Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:01:58 +02:00