Skip to content

Fix duplicate detection blocking unrelated torrent downloads#12

Merged
caprado merged 1 commit into
mainfrom
fix/duplicate-detection-torrent-url
May 28, 2026
Merged

Fix duplicate detection blocking unrelated torrent downloads#12
caprado merged 1 commit into
mainfrom
fix/duplicate-detection-torrent-url

Conversation

@caprado

@caprado caprado commented May 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Download duplicate detection matched on link_url, but torrent sources share the same .torrent URL across all ROMs on a platform
  • After downloading one ROM from MiNERVA, every other ROM on that platform showed "already downloaded"
  • Now matches on slug (unique per ROM entry) instead

Fixes #11

Test plan

  • Download a ROM from a torrent source (e.g. MiNERVA)
  • Download a second ROM from the same platform/source — should work
  • Re-downloading the same ROM should still show "already downloaded"

Torrent-based sources (e.g. MiNERVA) share the same torrent URL across
all ROMs on a platform. The duplicate check matched on link_url, so
after downloading one ROM the entire platform was blocked with "already
downloaded". Match on slug (unique per ROM entry) instead.

Fixes #11
@caprado caprado merged commit 6cf34df into main May 28, 2026
5 checks passed
@caprado caprado deleted the fix/duplicate-detection-torrent-url branch May 28, 2026 02:39
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.

"Game is already downloaded" for the second game of the platform

1 participant