From 74246df881ac04d8c555c63f49205ce6cb629b13 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 29 Jul 2024 00:12:59 +0300 Subject: [PATCH] Fixed: Pagination for TMDb lists containing a mix of media types --- .../ImportLists/TMDb/List/TMDbListImport.cs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/NzbDrone.Core/ImportLists/TMDb/List/TMDbListImport.cs b/src/NzbDrone.Core/ImportLists/TMDb/List/TMDbListImport.cs index c8a87a038..169d5fc52 100644 --- a/src/NzbDrone.Core/ImportLists/TMDb/List/TMDbListImport.cs +++ b/src/NzbDrone.Core/ImportLists/TMDb/List/TMDbListImport.cs @@ -9,6 +9,11 @@ namespace NzbDrone.Core.ImportLists.TMDb.List { public class TMDbListImport : TMDbImportListBase { + public override string Name => "TMDb List"; + public override bool Enabled => true; + public override bool EnableAuto => false; + public override int PageSize => 1; + public TMDbListImport(IRadarrCloudRequestBuilder requestBuilder, IHttpClient httpClient, IImportListStatusService importListStatusService, @@ -20,10 +25,6 @@ namespace NzbDrone.Core.ImportLists.TMDb.List { } - public override string Name => "TMDb List"; - public override bool Enabled => true; - public override bool EnableAuto => false; - public override IParseImportListResponse GetParser() { return new TMDbListParser(); @@ -31,7 +32,7 @@ namespace NzbDrone.Core.ImportLists.TMDb.List public override IImportListRequestGenerator GetRequestGenerator() { - return new TMDbListRequestGenerator() + return new TMDbListRequestGenerator { RequestBuilder = _requestBuilder, Settings = Settings,