Add download cleaner and dry run (#58)

This commit is contained in:
Marius Nechifor committed 2025-02-16 03:20:00 +02:00
1 parent 19b3675701
commit 596a5aed8d
87 files changed
+2507 -413

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
namespace Domain.Enums;
public enum CleanReason
{
None,
MaxRatioReached,
MaxSeedTimeReached,
}
@@ -16,4 +16,11 @@ public sealed record TorrentStatus
[JsonProperty("total_done")]
public long TotalDone { get; init; }
public string? Label { get; init; }
[JsonProperty("seeding_time")]
public long SeedingTime { get; init; }
public float Ratio { get; init; }
}