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
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ namespace NzbDrone.Core.Notifications.Plex
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");