Commit Graph

4 Commits

Author SHA1 Message Date
9cc8c073d6 refactor: improve UI flexibility and code formatting
- Remove hardcoded minimum sizes from scroll containers and UI elements
  for better responsiveness across different screen sizes
- Fix indentation and alignment across multiple modules
- Improve code consistency and readability
2026-01-02 04:25:25 -05:00
85366a7164 feat: implement unified FFmpeg player and fix critical build issues
🎯 Major Improvements:
• Unified FFmpeg Player: Rock-solid A/V sync with frame-accurate seeking
• Import Standardization: Convert to absolute module imports across codebase
• Build Fixes: Resolve critical syntax errors and compilation issues
• Code Cleanup: Remove unused code and fix variable references

🔧 Technical Changes:
• Fixed pipe initialization in unified player (internal/player/unified_ffmpeg_player.go)
• Replaced platformConfig references with utils.GetFFmpegPath() calls
• Added platform-specific exec utilities (exec_unix.go, exec_windows.go)
• Enhanced UI components with improved color handling
• Fixed missing closing brace in buildMetadataPanel function

🐛 Critical Fixes:
• Resolved "unexpected name buildVideoPane, expected (" syntax error
• Fixed undefined variable references (start → sampleStart)
• Removed calls to non-existent ColoredSelect Enable/Disable methods
• Corrected import paths from relative to absolute module references

📊 Impact:
+470 insertions, -951 deletions
• Eliminates blocking A/V synchronization issues
• Enables advanced video enhancement feature development
• Establishes consistent module architecture
• Codebase now builds and runs successfully

This commit establishes the foundation for Phase 2 enhancement features
by providing rock-solid video playback capabilities.
2026-01-02 01:02:07 -05:00
de81c9f999 Add clear completed button to all module top bars
- Added clearCompletedJobs() method to appState in main.go
- Clears only completed and failed jobs, keeps pending/running/paused
- Added small ⌫ (backspace) icon button next to View Queue in all modules
- Button has LowImportance styling to keep it subtle
- Implements Jake's suggestion for quick queue cleanup

Modules updated:
- Convert (main.go)
- Author (author_module.go)
- Subtitles (subtitles_module.go)
- Rip (rip_module.go)
- Filters (filters_module.go)
- Thumbnails (thumb_module.go)
- Inspect (inspect_module.go)

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-29 22:02:35 -05:00
960def5730 Extract inspect module from main.go
Refactoring:
- Create inspect_module.go (292 lines)
- Move showInspectView() and buildInspectView()
- Reduce main.go from 14,329 to 14,116 lines (-213 lines)
- Reduce main.go from 426KB to 420KB

This is the first step in modularizing main.go to improve:
- Windows build performance (currently 5+ minutes)
- Code maintainability and organization
- Following established pattern from author_module.go and subtitles_module.go

Remaining modules to extract:
- player, compare, thumb, filters, upscale, merge, convert, queue, benchmark

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-23 20:51:42 -05:00