mirror of
https://github.com/Radarr/Radarr
synced 2025-12-06 16:32:36 +01:00
Add content summary for bulk movie info
This commit is contained in:
parent
f20c260a4f
commit
30b1edbff0
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
|
using Newtonsoft.Json;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NzbDrone.Common.Cloud;
|
using NzbDrone.Common.Cloud;
|
||||||
using NzbDrone.Common.Extensions;
|
using NzbDrone.Common.Extensions;
|
||||||
|
|
@ -140,6 +141,7 @@ public List<MovieMetadata> GetBulkMovieInfo(List<int> tmdbIds)
|
||||||
httpRequest.Headers.ContentType = "application/json";
|
httpRequest.Headers.ContentType = "application/json";
|
||||||
|
|
||||||
httpRequest.SetContent(tmdbIds.ToJson());
|
httpRequest.SetContent(tmdbIds.ToJson());
|
||||||
|
httpRequest.ContentSummary = tmdbIds.ToJson(Formatting.None);
|
||||||
|
|
||||||
httpRequest.AllowAutoRedirect = true;
|
httpRequest.AllowAutoRedirect = true;
|
||||||
httpRequest.SuppressHttpError = true;
|
httpRequest.SuppressHttpError = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue