mirror of
https://github.com/pacnpal/Pac-cogs.git
synced 2025-12-20 02:41:06 -05:00
Separation of Concerns:
Core processing logic in VideoProcessor class Dedicated message handling in MessageHandler Queue operations in QueueHandler Progress tracking in ProgressTracker Reaction management in reactions.py Improved Maintainability: Each component has a single responsibility Easier to test individual components Better code organization and readability Reduced file sizes for better version control Better Resource Management: Centralized progress tracking Isolated queue operations Cleaner cleanup processes Optimized Imports: Components can be imported individually as needed Main processor.py provides backward compatibility Clear module interface through init.py
This commit is contained in:
15
videoarchiver/processor/__init__.py
Normal file
15
videoarchiver/processor/__init__.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""Video processing module for VideoArchiver"""
|
||||
|
||||
from .core import VideoProcessor
|
||||
from .reactions import REACTIONS
|
||||
from .progress_tracker import ProgressTracker
|
||||
from .message_handler import MessageHandler
|
||||
from .queue_handler import QueueHandler
|
||||
|
||||
__all__ = [
|
||||
'VideoProcessor',
|
||||
'REACTIONS',
|
||||
'ProgressTracker',
|
||||
'MessageHandler',
|
||||
'QueueHandler'
|
||||
]
|
||||
Reference in New Issue
Block a user