Add background thumbnail generator to media API

- Implemented a background worker for generating video thumbnails, enhancing media processing capabilities.
- Added startup and shutdown events to manage the thumbnail generator's lifecycle.
- Refactored thumbnail generation logic to handle file processing more robustly, including checks for existing thumbnails and file accessibility.
- Updated existing functions to integrate with the new background processing approach, ensuring seamless thumbnail generation on demand.
This commit is contained in:
salirezav
2025-12-02 12:34:00 -05:00
parent cb48020932
commit d454c64168
2 changed files with 177 additions and 15 deletions

View File

@@ -118,3 +118,5 @@ export const MqttDebugPanel: React.FC<MqttDebugPanelProps> = ({ isOpen, onClose
)
}