Skip to content

Conversation

@WEIFENG2333
Copy link
Owner

@WEIFENG2333 WEIFENG2333 commented Jan 25, 2026

Note

  • Video synthesis UI: Adds 使用样式 toggle and render mode dropdown; syncs render mode across views; auto-disables style when using soft subtitles; centralizes control enable/disable logic.
  • Config/Signals: Introduces UseSubtitleStyle setting and related signals; increases default MaxWordCountCJK to 28; renames LLM provider to OpenAI 兼容.
  • Download refactor: Implements BaseDownloader with Aria2Downloader and RequestsDownloader fallback, progress reporting, and cancel support.
  • FFmpeg check: Warns in-app if ffmpeg is missing; startup scripts now surface FFmpeg requirement (aria2 warning removed).
  • LLM/model handling: Model listing prioritizes gemini-3/doubao; LLM split retries reduced to 2 with clearer guidance.
  • Docs/README: Migrates links to legacy-docs/site, updates setup scripts/paths, cookie and config docs, model suggestions, and project structure.

Risk: Medium — UI flow changes for synthesis, new downloader logic, and stricter FFmpeg dependency could affect runtime behavior.

Written by Cursor Bugbot for commit 6bd4666. This will update automatically on new commits. Configure here.

liangweifeng and others added 4 commits January 20, 2026 20:47
- Add InfoBar descriptions for batch task types to help users understand
  each mode (transcribe, subtitle, trans+sub, full process)
- Remove redundant video file selector button from synthesis command bar
  (already available via browse button and drag-drop)
- Update soft/hard subtitle InfoBar descriptions for clarity

Co-Authored-By: Claude Opus 4.5 <[email protected]>
…ations

- Updated configuration to include a new option for enabling subtitle styles.
- Added signals for style changes and render mode updates in the signal bus.
- Integrated style and render mode controls in the video synthesis interface, allowing users to toggle styles and select rendering modes.
- Adjusted task factory to conditionally apply styles based on user settings.

These changes improve the flexibility and user experience of subtitle rendering in the application.
- Introduced a base downloader class and specific implementations for aria2c and requests.
- Enhanced the file download thread to select the appropriate downloader based on availability.
- Added progress tracking and cancellation capabilities for downloads.
- Improved error handling and logging during the download process.

These changes significantly enhance the file downloading functionality, providing users with a more robust and flexible experience.
… resource links

- Changed links in the README to point to updated documentation locations.
- Revised instructions for LLM API configuration and translation settings for better user guidance.
- Updated testing results and quick start instructions to reflect recent changes in model usage and installation scripts.
- Enhanced the structure of the project directory description for better understanding.
- Corrected references to cookie configuration and subtitle test results for consistency across documentation.

These updates aim to enhance user experience and provide clearer guidance on using the application effectively.
@claude
Copy link

claude bot commented Jan 25, 2026

Claude encountered an error —— View job


I'll analyze this and get back to you.

@WEIFENG2333 WEIFENG2333 merged commit b815b32 into master Jan 25, 2026
1 of 2 checks passed
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

mode_text = self.renderModeCard.comboBox.currentText()
mode = SubtitleRenderModeEnum(mode_text)
cfg.set(cfg.subtitle_render_mode, mode)
signalBus.subtitle_render_mode_changed.emit(mode_text)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Render mode change triggers duplicate UI updates

Medium Severity

When the render mode is changed locally in subtitle_style_interface.py, the UI update methods _updateVisibleGroups(), _refreshStyleList(), and updatePreview() are called twice. onRenderModeChanged() emits subtitle_render_mode_changed signal AND directly calls these methods. The emitted signal then triggers on_render_mode_changed_external() on the same object, which calls the same three methods again. This causes redundant CPU work and potential UI flickering, especially since updatePreview() likely performs expensive rendering operations.

Additional Locations (1)

Fix in Cursor Fix in Web

# 视频质量信号
video_quality_changed = pyqtSignal(str)
# 使用样式信号
use_subtitle_style_changed = pyqtSignal(bool)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signal defined and connected but never emitted

Low Severity

The use_subtitle_style_changed signal is defined in signal_bus.py and connected to on_use_style_changed handler in video_synthesis_interface.py, but the signal is never emitted anywhere in the codebase. The handler on_use_style_changed is therefore dead code that will never be invoked. When the use style toggle is changed in on_use_style_action_triggered, only the config value is set directly without emitting the signal.

Additional Locations (1)

Fix in Cursor Fix in Web

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