|
|
@ -51,9 +51,6 @@ namespace Lidarr.Api.V1.Indexers
|
|
|
|
public int? Leechers { get; set; }
|
|
|
|
public int? Leechers { get; set; }
|
|
|
|
public DownloadProtocol Protocol { get; set; }
|
|
|
|
public DownloadProtocol Protocol { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
//TODO: besides a test I don't think this is used...
|
|
|
|
|
|
|
|
public DownloadProtocol DownloadProtocol { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Sent when queuing an unknown release
|
|
|
|
// Sent when queuing an unknown release
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
|
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
|
|
|
@ -142,7 +139,7 @@ namespace Lidarr.Api.V1.Indexers
|
|
|
|
model.CommentUrl = resource.CommentUrl;
|
|
|
|
model.CommentUrl = resource.CommentUrl;
|
|
|
|
model.IndexerId = resource.IndexerId;
|
|
|
|
model.IndexerId = resource.IndexerId;
|
|
|
|
model.Indexer = resource.Indexer;
|
|
|
|
model.Indexer = resource.Indexer;
|
|
|
|
model.DownloadProtocol = resource.DownloadProtocol;
|
|
|
|
model.DownloadProtocol = resource.Protocol;
|
|
|
|
model.PublishDate = resource.PublishDate.ToUniversalTime();
|
|
|
|
model.PublishDate = resource.PublishDate.ToUniversalTime();
|
|
|
|
|
|
|
|
|
|
|
|
return model;
|
|
|
|
return model;
|
|
|
|