Skip to content

Conversation

@lsalab
Copy link
Owner

@lsalab lsalab commented Dec 1, 2025

No description provided.

- Add signal handlers (SIGINT, SIGTERM) for graceful shutdown
- Implement FilteredStderr class to suppress harmless cleanup errors
- Improve shutdown handling with proper try/except/finally blocks
- These errors occur in cheroot's makefile cleanup during garbage collection
  and are harmless but noisy
- Replace ffmpeg-python with PyAV for video property extraction and frame decoding in main.py.
- Implement a new thumbnail generation endpoint in the Viewer class to allow for dynamic thumbnail creation at specified timestamps.
- Update dependencies in pyproject.toml and requirements.txt to reflect the removal of ffmpeg-python and the addition of PyAV installation instructions.
- Introduce a custom JavaScript player for enhanced video controls and thumbnail previews.
- Update tests to mock PyAV functionality instead of ffmpeg, ensuring compatibility with the new video processing approach.
- Introduce a step in the CI workflow to make system Python packages available by updating the PYTHONPATH.
- Verify the importability of the PyAV module to ensure proper setup for video processing tasks.
- Remove the matrix strategy for Python versions and directly set up Python 3.
- Install python3-pip and python3-venv alongside python3-av for enhanced functionality.
- Update commands to use python3 for installing dependencies and running tests.
- Replace the step for making system Python packages available with a direct verification of the PyAV module import.
- Enhance the mocking of database connections in the TestUpdateThumbnails class to handle multiple calls during Viewer initialization and thumbnail updates.
- Implement side effects for mock cursor execution to simulate SELECT and INSERT queries.
- Add a new mock connection handling mechanism to differentiate between initial and subsequent database interactions.
- Update test cases to ensure proper functionality with the new mocking strategy.
@lsalab lsalab marked this pull request as ready for review December 1, 2025 02:24
@lsalab lsalab merged commit 94e40aa into main Dec 1, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants