1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-20 01:42:35 +01:00

Fixed: Pagination for TMDb lists containing a mix of media types

This commit is contained in:
Bogdan 2024-07-29 00:12:59 +03:00 committed by Qstick
parent 88127298ae
commit 74246df881

View File

@ -9,6 +9,11 @@ namespace NzbDrone.Core.ImportLists.TMDb.List
{
public class TMDbListImport : TMDbImportListBase<TMDbListSettings>
{
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 @@ public TMDbListImport(IRadarrCloudRequestBuilder requestBuilder,
{
}
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 @@ public override IParseImportListResponse GetParser()
public override IImportListRequestGenerator GetRequestGenerator()
{
return new TMDbListRequestGenerator()
return new TMDbListRequestGenerator
{
RequestBuilder = _requestBuilder,
Settings = Settings,