mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Change MQTT client_id to clientid
This commit is contained in:
parent
9ba6b230e6
commit
76cc61e0c2
1 changed files with 4 additions and 4 deletions
|
@ -2041,7 +2041,7 @@ class MQTT(Notifier):
|
|||
'protocol': 'MQTTv311',
|
||||
'username': '',
|
||||
'password': '',
|
||||
'client_id': 'plexpy',
|
||||
'clientid': 'plexpy',
|
||||
'topic': '',
|
||||
'qos': 1,
|
||||
'retain': 0,
|
||||
|
@ -2067,7 +2067,7 @@ class MQTT(Notifier):
|
|||
auth['password'] = self.config['password']
|
||||
|
||||
single(self.config['topic'], payload=json.dumps(data), qos=self.config['qos'], retain=bool(self.config['retain']),
|
||||
hostname=self.config['broker'], port=self.config['port'], client_id=self.config['client_id'],
|
||||
hostname=self.config['broker'], port=self.config['port'], client_id=self.config['clientid'],
|
||||
keepalive=self.config['keep_alive'], auth=auth or None, protocol=self.config['protocol'])
|
||||
|
||||
return True
|
||||
|
@ -2095,8 +2095,8 @@ class MQTT(Notifier):
|
|||
}
|
||||
},
|
||||
{'label': 'Client ID',
|
||||
'value': self.config['client_id'],
|
||||
'name': 'mqtt_client_id',
|
||||
'value': self.config['clientid'],
|
||||
'name': 'mqtt_clientid',
|
||||
'description': 'The client ID for connecting to the MQTT broker.',
|
||||
'input_type': 'text'
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue