Remove stalled downloads (#21)

This commit is contained in:
Marius Nechifor
2024-12-16 23:20:32 +02:00
parent 0a6ec21c95
commit 64bb9fc513
53 changed files with 522 additions and 160 deletions
@@ -1,4 +1,4 @@
namespace Domain.Arr.Queue;
namespace Domain.Models.Arr.Queue;
public record QueueListResponse
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace Domain.Arr.Queue;
namespace Domain.Models.Arr.Queue;
public record QueueRecord
{
+5 -1
View File
@@ -1,9 +1,13 @@
namespace Domain.Models.Arr;
using Common.Configuration.Arr;
namespace Domain.Models.Arr;
public sealed class SonarrSearchItem : SearchItem
{
public long SeriesId { get; set; }
public SonarrSearchType SearchType { get; set; }
public override bool Equals(object? obj)
{
if (obj is not SonarrSearchItem other)
@@ -1,6 +0,0 @@
namespace Domain.Models.Deluge.Response;
public sealed record DelugeMinimalStatus
{
public string? Hash { get; set; }
}
@@ -0,0 +1,12 @@
namespace Domain.Models.Deluge.Response;
public sealed record TorrentStatus
{
public string? Hash { get; set; }
public string? State { get; set; }
public string? Name { get; set; }
public ulong Eta { get; set; }
}
+5 -1
View File
@@ -1,4 +1,6 @@
namespace Domain.Models.Sonarr;
using Common.Configuration.Arr;
namespace Domain.Models.Sonarr;
public sealed record SonarrCommand
{
@@ -9,4 +11,6 @@ public sealed record SonarrCommand
public long? SeasonNumber { get; set; }
public List<long>? EpisodeIds { get; set; }
public SonarrSearchType SearchType { get; set; }
}