Use system language for requests

This commit is contained in:
JonnyWong16 2022-12-21 17:25:40 -08:00
commit 8cd5b0b775
No known key found for this signature in database
GPG key ID: F76A8BC283779014

View file

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