Skip to content

Commit 5d1878a

Browse files
committed
Remove now unused X_* headers from __init__.py
1 parent 3434f26 commit 5d1878a

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

plexapi/__init__.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
import logging
33
import os
44
from logging.handlers import RotatingFileHandler
5-
from platform import uname
6-
from uuid import getnode
75

86
from plexapi.config import PlexConfig, reset_base_headers
97
import plexapi.const as const
@@ -21,15 +19,6 @@
2119
X_PLEX_CONTAINER_SIZE = CONFIG.get('plexapi.container_size', 100, int)
2220
X_PLEX_ENABLE_FAST_CONNECT = CONFIG.get('plexapi.enable_fast_connect', False, bool)
2321

24-
# Plex Header Configuration
25-
X_PLEX_PROVIDES = CONFIG.get('header.provides', 'controller')
26-
X_PLEX_PLATFORM = CONFIG.get('header.platform', CONFIG.get('header.platform', uname()[0]))
27-
X_PLEX_PLATFORM_VERSION = CONFIG.get('header.platform_version', uname()[2])
28-
X_PLEX_PRODUCT = CONFIG.get('header.product', PROJECT)
29-
X_PLEX_VERSION = CONFIG.get('header.version', VERSION)
30-
X_PLEX_DEVICE = CONFIG.get('header.device', X_PLEX_PLATFORM)
31-
X_PLEX_DEVICE_NAME = CONFIG.get('header.device_name', uname()[1])
32-
X_PLEX_IDENTIFIER = CONFIG.get('header.identifier', str(hex(getnode())))
3322
BASE_HEADERS = reset_base_headers()
3423

3524
# Logging Configuration

0 commit comments

Comments
 (0)