Add Tautulli to X-Plex-Device-Name header

This commit is contained in:
JonnyWong16 2022-03-16 16:59:58 -07:00
parent 50d90d16bf
commit eb1d724417
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
2 changed files with 3 additions and 2 deletions

View file

@ -60,7 +60,8 @@ class HTTPHandler(object):
'X-Plex-Platform-Version': plexpy.common.PLATFORM_RELEASE,
'X-Plex-Device': '{} {}'.format(plexpy.common.PLATFORM,
plexpy.common.PLATFORM_RELEASE),
'X-Plex-Device-Name': plexpy.common.PLATFORM_DEVICE_NAME
'X-Plex-Device-Name': '{} ({})'.format(plexpy.common.PLATFORM_DEVICE_NAME,
plexpy.common.PRODUCT)
}
self.token = token