fix subscription dedup availability tracking

This commit is contained in:
ShukeBta
2026-06-26 19:46:44 +08:00
parent cf07a5167a
commit bc5eed4dec
4 changed files with 92 additions and 5 deletions
@@ -68,6 +68,7 @@ func (s *SubscriptionService) enqueueSiteSearchCandidate(ctx context.Context, su
AllowExistingLibrary: sub.WashEnabled,
}); err != nil {
if IsDownloadDedupError(err) {
state.markCandidateAvailable(candidate)
s.logSiteSearchCandidateSkipped(sub, state, candidate, "download_dedup", mediaType, mediaCategory, savePath)
return "", nil
}