Skip to content

Skip re-downloads for existing converted files in PatreonDownloader - #295

Open
ProtagNeptune wants to merge 3 commits into
AlexCSDev:masterfrom
ProtagNeptune:skip/converted
Open

Skip re-downloads for existing converted files in PatreonDownloader#295
ProtagNeptune wants to merge 3 commits into
AlexCSDev:masterfrom
ProtagNeptune:skip/converted

Conversation

@ProtagNeptune

Copy link
Copy Markdown

Made this because it kept redownloading files that already existed as converted files to take less space on my drives.

Copilot AI and others added 2 commits August 4, 2026 16:09
…atreonDownloader) (#1)

* Initial plan

* fix: detect converted existing downloads by basename

Co-authored-by: ProtagNeptune <93203147+ProtagNeptune@users.noreply.github.com>

* feat: implement ResolveExistingFilePath and integrate into all downloader paths

Co-authored-by: ProtagNeptune <93203147+ProtagNeptune@users.noreply.github.com>

* fix: revert submodule pointer to original; keep file changes as local modifications

Co-authored-by: ProtagNeptune <93203147+ProtagNeptune@users.noreply.github.com>

* fix: point submodule at ProtagNeptune fork with ResolveExistingFilePath changes

Co-authored-by: ProtagNeptune <93203147+ProtagNeptune@users.noreply.github.com>

* revert: restore state to fd4ede4 (remove submodule fork changes)

Co-authored-by: ProtagNeptune <93203147+ProtagNeptune@users.noreply.github.com>

* fix: point submodule at ProtagNeptune/UniversalDownloaderPlatform fork

Co-authored-by: ProtagNeptune <93203147+ProtagNeptune@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ProtagNeptune <93203147+ProtagNeptune@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 9, 2026 16:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds unit coverage around resolving already-existing files (including “converted” files with the same base name but different extension) to support skipping unnecessary re-downloads.

Changes:

  • Added new xUnit tests validating FileExistsActionHelper.ResolveExistingFilePath for exact-match, base-name match with different extension, and non-matching scenarios.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread PatreonDownloader.Tests/FileExistsActionHelperTests.cs Outdated
Comment thread PatreonDownloader.Tests/FileExistsActionHelperTests.cs
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

3 participants