mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-19 21:46:50 -04:00
Add content summary for bulk movie info
This commit is contained in:
@@ -2,6 +2,7 @@ using System;
|
|||||||
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 @@ namespace NzbDrone.Core.MetadataSource.SkyHook
|
|||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user