mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -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',
|
'protocol': 'MQTTv311',
|
||||||
'username': '',
|
'username': '',
|
||||||
'password': '',
|
'password': '',
|
||||||
'client_id': 'plexpy',
|
'clientid': 'plexpy',
|
||||||
'topic': '',
|
'topic': '',
|
||||||
'qos': 1,
|
'qos': 1,
|
||||||
'retain': 0,
|
'retain': 0,
|
||||||
|
@ -2067,7 +2067,7 @@ class MQTT(Notifier):
|
||||||
auth['password'] = self.config['password']
|
auth['password'] = self.config['password']
|
||||||
|
|
||||||
single(self.config['topic'], payload=json.dumps(data), qos=self.config['qos'], retain=bool(self.config['retain']),
|
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'])
|
keepalive=self.config['keep_alive'], auth=auth or None, protocol=self.config['protocol'])
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
@ -2095,8 +2095,8 @@ class MQTT(Notifier):
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{'label': 'Client ID',
|
{'label': 'Client ID',
|
||||||
'value': self.config['client_id'],
|
'value': self.config['clientid'],
|
||||||
'name': 'mqtt_client_id',
|
'name': 'mqtt_clientid',
|
||||||
'description': 'The client ID for connecting to the MQTT broker.',
|
'description': 'The client ID for connecting to the MQTT broker.',
|
||||||
'input_type': 'text'
|
'input_type': 'text'
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue