core: renamed messageReceived trigger to message_received

This commit is contained in:
Goffi 2023-05-29 13:32:08 +02:00
commit 1781694141
26 changed files with 31 additions and 32 deletions

View file

@ -92,7 +92,7 @@ class CommandExport(object):
log.info(_("Plugin command export initialization"))
self.host = host
self.spawned = {} # key = entity
host.trigger.add("messageReceived", self.message_received_trigger, priority=10000)
host.trigger.add("message_received", self.message_received_trigger, priority=10000)
host.bridge.add_method(
"command_export",
".plugin",
@ -148,7 +148,7 @@ class CommandExport(object):
- exclusive: if set, skip all other triggers
- loop: if set, restart the command once terminated #TODO
- pty: if set, launch in a pseudo terminal
- continue: continue normal messageReceived handling
- continue: continue normal message_received handling
"""
client = self.host.get_client(profile_key)
for target in targets: