mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Add config override for PMS_LANGUAGE
This commit is contained in:
parent
ab16adcffc
commit
98583d139a
2 changed files with 2 additions and 1 deletions
|
@ -55,6 +55,7 @@ _CONFIG_DEFINITIONS = {
|
|||
'PMS_IP': (str, 'PMS', '127.0.0.1'),
|
||||
'PMS_IS_CLOUD': (int, 'PMS', 0),
|
||||
'PMS_IS_REMOTE': (int, 'PMS', 0),
|
||||
'PMS_LANGUAGE': (str, 'PMS', ''),
|
||||
'PMS_LOGS_FOLDER': (str, 'PMS', ''),
|
||||
'PMS_LOGS_LINE_CAP': (int, 'PMS', 1000),
|
||||
'PMS_NAME': (str, 'PMS', ''),
|
||||
|
|
|
@ -62,7 +62,7 @@ class HTTPHandler(object):
|
|||
plexpy.common.PLATFORM_RELEASE),
|
||||
'X-Plex-Device-Name': '{} ({})'.format(plexpy.common.PLATFORM_DEVICE_NAME,
|
||||
plexpy.common.PRODUCT),
|
||||
'Accept-Language': plexpy.SYS_LANGUAGE
|
||||
'X-Plex-Language': plexpy.CONFIG.PMS_LANGUAGE or plexpy.SYS_LANGUAGE
|
||||
}
|
||||
|
||||
self.token = token
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue