From 5d980a175cda9d53c84aab3f74f15f794491d50b Mon Sep 17 00:00:00 2001 From: Qstick Date: Fri, 13 Aug 2021 16:42:49 -0400 Subject: [PATCH] Fixed: (DanishBytes) Handle response with null bumped_at Fixes #384 --- src/NzbDrone.Core/Indexers/Definitions/DanishBytes.cs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/Definitions/DanishBytes.cs b/src/NzbDrone.Core/Indexers/Definitions/DanishBytes.cs index a0955fe7c..50ba133a8 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/DanishBytes.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/DanishBytes.cs @@ -49,7 +49,7 @@ namespace NzbDrone.Core.Indexers.Definitions { TvSearchParams = new List { - TvSearchParam.Q, TvSearchParam.ImdbId, TvSearchParam.TvdbId + TvSearchParam.Q, TvSearchParam.Season, TvSearchParam.Ep, TvSearchParam.ImdbId, TvSearchParam.TvdbId }, MovieSearchParams = new List { @@ -70,7 +70,7 @@ namespace NzbDrone.Core.Indexers.Definitions caps.Categories.AddCategoryMapping("3", NewznabStandardCategory.Audio, "Music"); caps.Categories.AddCategoryMapping("4", NewznabStandardCategory.PCGames, "Games"); caps.Categories.AddCategoryMapping("5", NewznabStandardCategory.PC0day, "Appz"); - caps.Categories.AddCategoryMapping("6", NewznabStandardCategory.Books, "Bookz"); + caps.Categories.AddCategoryMapping("8", NewznabStandardCategory.Books, "Bookz"); return caps; } @@ -294,12 +294,6 @@ namespace NzbDrone.Core.Indexers.Definitions [JsonProperty(PropertyName = "created_at")] public DateTime CreatedAt { get; set; } - [JsonProperty(PropertyName = "bumped_at")] - public DateTime BumpedAt { get; set; } - - [JsonProperty(PropertyName = "type_id")] - public int TypeId { get; set; } - [JsonProperty(PropertyName = "resolution_id")] public int ResolutionId { get; set; }