Add option to ignore private downloads when blocking files (#39)

This commit is contained in:
Marius Nechifor
2025-01-13 15:15:58 +02:00
committed by GitHub
parent f0dc51f10b
commit 058507ac39
8 changed files with 53 additions and 1 deletions
@@ -81,6 +81,13 @@ public sealed class TransmissionService : DownloadServiceBase
{
return;
}
if (_queueCleanerConfig.StalledIgnorePrivate && (torrent.IsPrivate ?? false))
{
// ignore private trackers
_logger.LogDebug("skip files check | download is private | {name}", torrent.Name);
return;
}
List<long> unwantedFiles = [];