Skip to content

Commit b5a6bc5

Browse files
committed
fixup! fixup! fixup! Use CONFIG rather constants
1 parent 3d2c6ca commit b5a6bc5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plexapi/sonos.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
import requests
3-
from plexapi import CONFIG, X_PLEX_IDENTIFIER
3+
from plexapi import CONFIG
44
from plexapi.client import PlexClient
55
from plexapi.exceptions import BadRequest
66
from plexapi.playqueue import PlayQueue
@@ -107,7 +107,7 @@ def playMedia(self, media, offset=0, **params):
107107
"port": server_port,
108108
"token": media._server.createToken(),
109109
"commandID": self._nextCommandId(),
110-
"X-Plex-Client-Identifier": X_PLEX_IDENTIFIER,
110+
"X-Plex-Client-Identifier": CONFIG.get('header.identifier'),
111111
"X-Plex-Token": media._server._token,
112112
"X-Plex-Target-Client-Identifier": self.machineIdentifier,
113113
},

0 commit comments

Comments
 (0)