1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

Set X-Plex-Device-Name

This sets a title and will make it a bit more clear that Sonarr has registered as a client on myPlex.
This commit is contained in:
Sander Spies 2014-11-24 16:06:23 +01:00 committed by Mark McDowall
parent 06d8d1e2bb
commit 59c28a3fc6

View File

@ -89,6 +89,7 @@ private RestRequest GetMyPlexRequest(string resource, Method method)
request.AddHeader("X-Plex-Platform-Version", "7"); request.AddHeader("X-Plex-Platform-Version", "7");
request.AddHeader("X-Plex-Provides", "player"); request.AddHeader("X-Plex-Provides", "player");
request.AddHeader("X-Plex-Client-Identifier", "AB6CCCC7-5CF5-4523-826A-B969E0FFD8A0"); 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-Product", "PlexWMC");
request.AddHeader("X-Plex-Version", "0"); request.AddHeader("X-Plex-Version", "0");