Difference between revisions of "Category:Backend Messages (Myth Protocol)"

From MythTV Official Wiki
Jump to: navigation, search
m (spelling)
 
Line 2: Line 2:
  
 
== MESSAGE ==
 
== MESSAGE ==
This command is set from a client to the backend.
+
This command is sent from a client to the backend.
  
 
Example:
 
Example:

Latest revision as of 22:42, 21 February 2011

The event system uses a pair of basic commands to push unsolicited events through MythTV.

MESSAGE

This command is sent from a client to the backend.

Example:

32      MESSAGE[]:[]CLEAR_SETTINGS_CACHE

Successful Response:

2       OK

BACKEND_MESSAGE

This command is used to differentiate unsolicited events sent by the backend, from responses to a client's query. There is no need to respond to these.

Example:

50      BACKEND_MESSAGE[]:[]CLEAR_SETTINGS_CACHE[]:[]empty

The event string may contain additional information in a space-separated string. Additional data may contain backend separaters, and will be filled with 'empty' if no additional data is needed.