Category:Backend Messages (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

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.

Personal tools
Namespaces
Variants
Actions
Wiki Navigation
Official Resources
Toolbox
Print/export