Commit Graph

27 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
d18a9915f9 chore: bump version to 0.3.2
All checks were successful
Build and Publish / build-and-publish (push) Successful in 16s
Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:24:15 +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
b4a728d0c6 chore: bump version to 0.3.1
All checks were successful
Build and Publish / build-and-publish (push) Successful in 18s
Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:21:30 +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
78881a572d chore: bump version to 0.3.0
All checks were successful
Build and Publish / build-and-publish (push) Successful in 17s
- Update project version from 0.2.1 to 0.3.0 in pyproject.toml.

Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:18:35 +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
776d95f8cd chore: bump version to 0.2.1
All checks were successful
Build and Publish / build-and-publish (push) Successful in 17s
- Update project version from 0.2.0 to 0.2.1 in pyproject.toml.
- Indicates a minor update, likely for small improvements or fixes.

Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:07:36 +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
d91440aded chore: bump version to 0.2.0
All checks were successful
Build and Publish / build-and-publish (push) Successful in 18s
- Update project version from 0.1.0 to 0.2.0 in pyproject.toml.
- Reflects progress or new features added since the previous version.

Signed-off-by: Max P. <Mail@MPassarello.de>
2025-04-30 15:04:16 +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
58c8bf5c8f Adds detailed docstrings for SocketListener and TrayApp classes
Enhances maintainability by providing comprehensive docstrings for
SocketListener and TrayApp classes. Documents attributes and methods,
clarifying their purposes and usage.
2025-03-24 14:27:57 +01:00
649b48ef53 Adds requirements section to README
Includes Python dependencies and external software requirements
to guide users on necessary tools and libraries for the project.
2025-03-24 14:26:33 +01:00
92d66fb46c Extracts notification logic into a reusable utility
Moves desktop notification functionality to a separate module for better code reuse and maintainability. Updates the main application to use the new utility.
2025-03-24 14:26:24 +01:00
36bad26e91 Updates default paths in sample settings
Replaces placeholder paths with temporary file paths for audio, output, and socket.
Updates the default URL to use localhost for better local testing.
2025-03-24 14:17:42 +01:00
697d6ec5fc Updates copyright and improves README formatting 2025-03-24 14:16:47 +01:00
82a7e6b968 Refactors configuration loading to use shared module
Replaces inline configuration loading logic with an import from a shared `configuration` module to improve code reuse and maintainability.
2025-03-24 14:16:31 +01:00
210e0e95fb Refactors command sending and adds CLI support
Introduces argument parsing for command-line interaction, allowing
users to specify commands dynamically. Refactors the command
sending function to include detailed error handling and support
for configurable socket paths via external configuration.
2025-03-24 14:15:28 +01:00
af048b9333 Adds configuration file reader utility
Introduces a function to read and parse configuration settings from a JSON file. Handles errors gracefully with exception handling to ensure reliability.

Facilitates centralized management of configuration settings.
2025-03-24 14:14:57 +01:00
1a1e7c0658 Improves error handling in transcription workflow
Adds detailed error handling for subprocess calls, file I/O, and HTTP requests to enhance robustness. Notifies the user of specific failures during transcription and clipboard operations. Fixes duplicate import and improves UI action configuration.
2025-03-24 13:51:08 +01:00
c35c01dbae Improves error handling in notification function
Updates the notify function to handle subprocess errors gracefully, ensuring better feedback and preventing crashes when notifications fail.
2025-03-24 13:50:29 +01:00
58cec63314 Add requirements file for project dependencies 2025-03-24 13:49:45 +01:00
fee80c3fbe Add main application and command sender for voice to text processing 2025-03-22 11:27:30 +01:00
154a5690ac Add sample configuration file for pyvtt settings 2025-03-22 11:27:24 +01:00
efc40c20b0 Add .gitignore to exclude pyvtt.settings.json and __pycache__/ 2025-03-22 11:27:17 +01:00
20Max01
5460d8a653 Initial commit 2025-03-22 10:02:02 +01:00