From f1c01343bf5c4ad31d47ea73dd9676fc40fb01d3 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 13 Oct 2023 14:27:32 +0300 Subject: [PATCH] New: (Nebulance) Parse TvMazeId and scene attributes --- src/NzbDrone.Core/Indexers/Definitions/Nebulance.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/NzbDrone.Core/Indexers/Definitions/Nebulance.cs b/src/NzbDrone.Core/Indexers/Definitions/Nebulance.cs index dba9ce9e4..da274e75e 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/Nebulance.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/Nebulance.cs @@ -265,6 +265,8 @@ namespace NzbDrone.Core.Indexers.Definitions Grabs = ParseUtil.CoerceInt(row.Snatch), Seeders = ParseUtil.CoerceInt(row.Seed), Peers = ParseUtil.CoerceInt(row.Seed) + ParseUtil.CoerceInt(row.Leech), + TvMazeId = ParseUtil.CoerceInt(row.TvMazeId), + Scene = row.Tags?.ContainsIgnoreCase("scene"), MinimumRatio = 0, // ratioless MinimumSeedTime = row.Category.ToLower() == "season" ? 432000 : 86400, // 120 hours for seasons and 24 hours for episodes DownloadVolumeFactor = 0, // ratioless tracker @@ -339,8 +341,11 @@ namespace NzbDrone.Core.Indexers.Definitions public string Banner { get; set; } [JsonPropertyName("group_id")] public string TorrentId { get; set; } + [JsonPropertyName("series_id")] + public string TvMazeId { get; set; } [JsonPropertyName("rls_utc")] public string PublishDateUtc { get; set; } + public IEnumerable Tags { get; set; } } public class NebulanceTorrents