fix subscription range dedup

This commit is contained in:
ShukeBta
2026-06-26 16:05:03 +08:00
parent 82186eb093
commit 6f65544542
7 changed files with 460 additions and 322 deletions
@@ -82,7 +82,7 @@ func (s *SubscriptionService) shouldSkipExistingTorrent(ctx context.Context, med
if s == nil || s.downloads == nil {
return false
}
if isSubscriptionSeriesType(mediaType) && !candidate.Pack && candidate.Episode > 0 {
if isSubscriptionSeriesType(mediaType) && candidate.Episode > 0 {
return false
}
return s.downloads.TorrentExistsByName(ctx, candidate.Item.Title)