Version and product for MyPlex Authentication

pull/565/head
Mark McDowall 10 years ago
parent a090ed8b5e
commit 4010a5336c

@ -4,6 +4,7 @@ using System.Linq;
using Newtonsoft.Json.Linq;
using NLog;
using NzbDrone.Common.Cache;
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Extensions;
using NzbDrone.Common.Serializer;
using NzbDrone.Core.Rest;
@ -90,8 +91,8 @@ namespace NzbDrone.Core.Notifications.Plex
request.AddHeader("X-Plex-Provides", "player");
request.AddHeader("X-Plex-Client-Identifier", "AB6CCCC7-5CF5-4523-826A-B969E0FFD8A0");
request.AddHeader("X-Plex-Device-Name", "Sonarr");
request.AddHeader("X-Plex-Product", "PlexWMC");
request.AddHeader("X-Plex-Version", "0");
request.AddHeader("X-Plex-Product", "Sonarr");
request.AddHeader("X-Plex-Version", BuildInfo.Version.ToString());
return request;
}

Loading…
Cancel
Save