mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 01:02:05 +00:00
Version and product for MyPlex Authentication
This commit is contained in:
parent
a090ed8b5e
commit
4010a5336c
1 changed files with 3 additions and 2 deletions
|
@ -4,6 +4,7 @@
|
|||
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 @@ private RestRequest GetMyPlexRequest(string resource, Method method)
|
|||
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…
Reference in a new issue