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:
parent
88127298ae
commit
74246df881
@ -9,6 +9,11 @@ namespace NzbDrone.Core.ImportLists.TMDb.List
|
|||||||
{
|
{
|
||||||
public class TMDbListImport : TMDbImportListBase<TMDbListSettings>
|
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,
|
public TMDbListImport(IRadarrCloudRequestBuilder requestBuilder,
|
||||||
IHttpClient httpClient,
|
IHttpClient httpClient,
|
||||||
IImportListStatusService importListStatusService,
|
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()
|
public override IParseImportListResponse GetParser()
|
||||||
{
|
{
|
||||||
return new TMDbListParser();
|
return new TMDbListParser();
|
||||||
@ -31,7 +32,7 @@ public override IParseImportListResponse GetParser()
|
|||||||
|
|
||||||
public override IImportListRequestGenerator GetRequestGenerator()
|
public override IImportListRequestGenerator GetRequestGenerator()
|
||||||
{
|
{
|
||||||
return new TMDbListRequestGenerator()
|
return new TMDbListRequestGenerator
|
||||||
{
|
{
|
||||||
RequestBuilder = _requestBuilder,
|
RequestBuilder = _requestBuilder,
|
||||||
Settings = Settings,
|
Settings = Settings,
|
||||||
|
Loading…
Reference in New Issue
Block a user