Skip to content

Stop after FFmpeg auto-download failure#836

Merged
Tyrrrz merged 3 commits into
Tyrrrz:primefrom
OpenNerdz:fix/stop-after-ffmpeg-download-failure
May 25, 2026
Merged

Stop after FFmpeg auto-download failure#836
Tyrrrz merged 3 commits into
Tyrrrz:primefrom
OpenNerdz:fix/stop-after-ffmpeg-download-failure

Conversation

@OpenNerdz

Copy link
Copy Markdown
Contributor

This closes the app if the automatic FFmpeg download fails.

If FFmpeg is missing and the user chooses not to download it, the app already exits. This makes the failed-download case behave the same way instead of leaving the app open in a state where downloads will still fail.

Checked with dotnet build YoutubeDownloader.slnx.

@Tyrrrz Tyrrrz added the bug Something isn't working label May 25, 2026
@Tyrrrz Tyrrrz requested a review from Copilot May 25, 2026 14:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR makes the application exit when the automatic FFmpeg download fails, aligning the “download failed” path with the existing behavior when FFmpeg is missing and the user chooses not to download it.

Changes:

  • After showing an error dialog for FFmpeg auto-download failures, the app now attempts to shut down (with a process-exit fallback).
  • Keeps the “missing FFmpeg + user declines download” and “download attempt fails” outcomes consistent (both exit).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread YoutubeDownloader/ViewModels/Components/DashboardViewModel.cs Outdated
@Tyrrrz Tyrrrz merged commit 4d938dd into Tyrrrz:prime May 25, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants