Browse Source

Add Plex device name

pull/5201/merge
Ruud 8 years ago
parent
commit
1a8c78bad7
  1. 3
      couchpotato/core/notifications/plex/server.py

3
couchpotato/core/notifications/plex/server.py

@ -51,7 +51,8 @@ class PlexServer(object):
req = urllib2.Request("https://plex.tv/users/sign_in.xml", data="")
authheader = "Basic %s" % base64.encodestring('%s:%s' % (username, password))[:-1]
req.add_header("Authorization", authheader)
req.add_header("X-Plex-Product", "Couchpotato Notifier")
req.add_header("X-Plex-Device-Name", "CouchPotato")
req.add_header("X-Plex-Product", "CouchPotato Notifier")
req.add_header("X-Plex-Client-Identifier", "b3a6b24dcab2224bdb101fc6aa08ea5e2f3147d6")
req.add_header("X-Plex-Version", "1.0")

Loading…
Cancel
Save