- Added a verbose flag to control script output.
- Updated tests to reflect changes.
- Added docstrings to functions.
- Improved overall code structure and readability.
- The timestamp-based check for processed files was unreliable and prone to errors due to potential clock discrepancies.
- This check has been removed, and processing now solely relies on the database status.
- Adds `--db-location` command-line option for specifying a custom database location.
- Updates documentation to reflect the new database persistence feature.
- Modifies `get_db_path` to accept and use the `--db-location` argument.
- Creates `/data` directory in the Docker container for database persistence.
- Updates README.md to explain database persistence and provide usage examples.
- Adds --version argument to display version information.
- Adds --reset-db argument to clear the database.
- Adds --list-patterns argument to display advertisement patterns.
- Handles version display using importlib.metadata if __version__ is unavailable.
- Adds error handling for database reset operations.
- Improves error message when no subtitle files are provided.
- Replaces poetry with uv for dependency management.
- Updates linting and testing scripts to use uv.
- Adds build and twine steps for PyPI deployment.
- Added a new function to handle special characters in filenames.
- Modified existing functions to handle special characters in filenames.
- Updated tests to ensure correct behavior with special characters in filenames.