pacnpal
533afd61ed
fix: Simplify cog initialization - Let Red handle command syncing - Remove manual sync operations - Clean up __init__.py files
2024-11-15 00:59:00 +00:00
pacnpal
3b563c45b5
fix: Add proper command registration and cleanup to all cogs - Add command syncing after cog load - Add teardown functions - Add error handling for sync operations
2024-11-15 00:58:05 +00:00
pacnpal
770e74d63c
fix: Improve command registration and cleanup - Add proper command syncing - Add teardown function - Add error handling for sync operations
2024-11-15 00:57:24 +00:00
pacnpal
13be8d75de
fix: Ensure data directory exists for queue persistence
2024-11-15 00:56:56 +00:00
pacnpal
1bd8980f6f
fix: Improve URL validation and extraction - Use suitable() method for URL validation - Add word-based URL detection - Fix URL extraction errors
2024-11-15 00:55:27 +00:00
pacnpal
da9a6e40f9
fix: Properly validate URLs using extractors' suitable() method
2024-11-15 00:53:56 +00:00
pacnpal
4e632276c2
fix: Resolve command registration issues - Separate command handling into VideoArchiverCommands - Update command registration in __init__.py - Remove duplicate command registration
2024-11-15 00:50:55 +00:00
pacnpal
a760bef25d
feat: Implement proper slash commands across all cogs - Use app_commands for better slash command support - Add command and parameter descriptions - Improve interaction handling - Add select menus for better UX
2024-11-15 00:47:39 +00:00
pacnpal
ba71081687
fix: Properly implement slash commands - Use app_commands for slash command support - Add proper command group structure - Handle command registration and syncing
2024-11-15 00:45:13 +00:00
pacnpal
cb1394f413
fix: Improve default handling for addrole and addmonitor - Clear lists when no parameter is provided to use defaults - Update help text and feedback messages
2024-11-15 00:42:05 +00:00
pacnpal
1588c5cb96
fix: Improve command handling and defaults - Add fallback for hybrid commands - Make addmonitor and addrole use defaults - Fix async cog loading
2024-11-15 00:40:12 +00:00
pacnpal
fa4c2ec208
fix: Remove manual command syncing and let Red-DiscordBot handle it
2024-11-15 00:30:45 +00:00
pacnpal
f6edef4658
fix: Properly initialize and register hybrid commands for both slash and legacy support
2024-11-15 00:26:48 +00:00
pacnpal
7a0fd441b0
fix: Properly delegate commands and add guild-only restrictions
2024-11-15 00:20:32 +00:00
pacnpal
ddd2da0ee4
fix: Add missing psutil import for queue health monitoring
2024-11-15 00:14:57 +00:00
pacnpal
cb130358fb
fix: Remove duplicate hybrid command decorations to resolve command callback error
2024-11-15 00:10:50 +00:00
pacnpal
a373c455a9
fix: Change enable_sites command to use string parameter instead of *args for hybrid command compatibility
2024-11-15 00:07:57 +00:00
pacnpal
fc40e994fe
fix imports
2024-11-15 00:02:09 +00:00
pacnpal
2160be84bb
fix imports
2024-11-14 23:57:24 +00:00
pacnpal
f3d28231e8
fix imports
2024-11-14 23:45:36 +00:00
pacnpal
d8ca4e5b8e
fix imports
2024-11-14 23:24:48 +00:00
pacnpal
e094dbfdb6
fix imports
2024-11-14 23:12:21 +00:00
pacnpal
171453ce57
fix imports
2024-11-14 23:09:28 +00:00
pacnpal
0533deaca3
fix imports
2024-11-14 23:07:04 +00:00
pacnpal
dfba1a4e30
fix imports
2024-11-14 23:05:16 +00:00
pacnpal
a0b3a56d4f
fix: Update cog initialization
...
- Added proper Red-DiscordBot cog setup
- Added end user data statement
- Improved module organization
2024-11-14 22:37:59 +00:00
pacnpal
2ba89edbd9
refactor: Improve ffmpeg_downloader module
...
- Enhanced Docker compatibility with proper permissions
- Better error handling and logging
- Improved download and extraction process
- Added detailed type hints and documentation
2024-11-14 22:37:42 +00:00
pacnpal
2f449e6120
refactor: Clean up encoder_params module
...
- Improved parameter organization
- Better error handling and logging
- More consistent code style
- Added detailed comments for parameter choices
2024-11-14 22:36:50 +00:00
pacnpal
4719f567c6
refactor: Update video_analyzer to use ffprobe directly
...
- Removed dependency on ffmpeg-python package
- Added direct ffprobe command execution
- Improved error handling and logging
- Better organization of analysis methods
2024-11-14 22:36:01 +00:00
pacnpal
9beda06e34
fix: Update imports in ffmpeg_manager module
...
- Updated imports to use full package paths consistently
- Ensured all imports use videoarchiver.ffmpeg namespace
2024-11-14 22:33:47 +00:00
pacnpal
e5ea9f7bed
fix: Update imports for Red-DiscordBot compatibility
...
- Modified imports to use full package paths
- Fixed circular import issues
- Updated imports to work within cog structure
2024-11-14 22:33:18 +00:00
pacnpal
c9872b123d
fix
2024-11-14 22:31:37 +00:00
pacnpal
9aeafb63f4
fix: Update import path to use relative imports
...
- Changed import statement to use relative imports (.ffmpeg) for better package compatibility
2024-11-14 22:30:45 +00:00
pacnpal
2a50395bd7
fix: Add package __init__.py and fix imports
...
- Added videoarchiver/__init__.py to make it a proper package
- Fixed import statement in ffmpeg_manager.py to use local imports
2024-11-14 22:29:42 +00:00
pacnpal
5454630591
refactor: Split FFmpeg manager into modular components
...
- Created ffmpeg package with specialized modules
- Improved Docker compatibility using /tmp
- Better permission handling
- More robust error handling
- Separated concerns for easier maintenance
- Simplified imports through __init__.py
2024-11-14 22:26:32 +00:00
pacnpal
049ea863f0
fix tmp handling
2024-11-14 22:08:09 +00:00
pacnpal
5eeba4fa05
fix tmp handling
2024-11-14 22:03:56 +00:00
pacnpal
296d80875d
fix ffmpeg
2024-11-14 21:57:15 +00:00
pacnpal
41c7926f79
Fix ffmpeg
2024-11-14 21:53:46 +00:00
pacnpal
6d25ea8e11
Fix ffmpeg
2024-11-14 21:44:41 +00:00
pacnpal
2622db6d3c
Add slash command support for all cogs
2024-11-14 21:43:01 +00:00
pacnpal
73f142addd
fixed issues
2024-11-14 21:36:58 +00:00
pacnpal
54fa2084e2
commit
2024-11-14 20:45:04 +00:00
pacnpal
fdebc0f494
Update message format and links
...
- Add original message link to archive message
- Add original message link to notification
- Update message format for better readability
- Add better reaction cleanup
- Add better error context
- Add better task management
2024-11-14 20:44:43 +00:00
pacnpal
acef03ba18
Update message handling and reactions
...
- Add 📹 reaction at start of processing
- Add ⏳ reaction during processing
- Change to ✅ when complete
- Update message template to show username and channel
- Remove author mention for cleaner format
- Add better reaction cleanup on errors
- Add better error context and handling
2024-11-14 20:43:27 +00:00
pacnpal
ae9eb4d07d
Update README with new features and improvements
...
- Add content-aware video analysis documentation
- Add comprehensive error handling details
- Add hardware acceleration improvements
- Add resource management documentation
- Add better troubleshooting information
- Add detailed error logging information
- Add GPU fallback documentation
- Add task management details
2024-11-14 20:39:28 +00:00
pacnpal
c63d884f67
Improve error handling and task management
...
- Add custom exception classes for better error handling
- Add better error logging to Discord channels with retries
- Add proper task tracking with error callbacks
- Add better cleanup and resource management
- Add better version comparison for updates
- Add retries for Discord API operations
- Add better error context and recovery
- Add better component lifecycle management
2024-11-14 20:38:12 +00:00
pacnpal
29186fc372
Improve video compression and error handling
...
- Add better video content analysis for optimal encoding
- Add better dark scene and motion detection
- Add better audio quality preservation
- Add better GPU detection with fallback
- Add proper exception handling and logging
- Add retries with exponential backoff
- Add better resource cleanup and management
- Add better file permission handling
- Add better process management
2024-11-14 20:36:48 +00:00
pacnpal
dcb1587d4f
Improve file handling and resource management
...
- Add proper file permission handling and verification
- Add retries with exponential backoff for file operations
- Add better video file verification
- Add proper temp file cleanup
- Fix sync/async issues in file operations
- Add better error handling and logging
- Add proper thread pool management
- Fix potential memory leaks
- Add better file locking and cleanup
2024-11-14 20:14:31 +00:00
pacnpal
2b9a070896
Improve error handling and dependencies
...
- Add aiohttp to requirements for better async HTTP handling
- Add proper timeout handling for GitHub API requests
- Add better error logging with tracebacks to Discord channels
- Add better task tracking and cleanup
- Add better file cleanup handling
- Add better component lifecycle management
2024-11-14 20:10:01 +00:00