SYSTEM EVENT (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

SYSTEM_EVENT

This command is a subset of BACKEND MESSAGE (Myth Protocol) and deals with special System Events, that are used as external command triggers similarly to user jobs. The basic syntax is:

BACKEND_MESSAGE[]:[]SYSTEM_EVENT <event name> <additional data>[]:[]empty

The additional data consists of one or more pairs of an identifier followed by the matching information. The used identifiers are:

  • SENDER
  • HOSTNAME
  • CARDID
  • CHANID
  • STARTTIME - in the format '0000-00-00T00:00:00'
  • SECS - seconds until action occurs

Supported Events

Event Name Description Uses argument
SENDER HOSTNAME CARDID CHANID STARTTIME SECS
CLIENT_CONNECTED Yes Yes No No No No
CLIENT_DISCONNECTED Yes Yes No No No No
SLAVE_CONNECTED Yes Yes No No No No
SLAVE_DISCONNECTED Yes Yes No No No No
SCHEDULER_RAN Yes No No No No No
REC_PENDING Yes No Yes Yes Yes Yes
REC_STARTED Yes No Yes Yes Yes No
REC_STARTED_WRITING 0.27  ?  ?  ?  ?  ?  ?
REC_FINISHED Yes No Yes Yes Yes No
REC_DELETED Yes No No Yes Yes No
REC_EXPIRED Yes Yes No Yes Yes Yes
LIVETV_STARTED Yes
PLAY_STARTED Yes Yes No Yes Yes No
PLAY_STOPPED Yes Yes No Yes Yes No
PLAY_PAUSED Yes Yes No Yes Yes No
PLAY_UNPAUSED Yes Yes No Yes Yes No
PLAY_CHANGED Yes Yes No Yes Yes No
MASTER_STARTED Yes No No No No No
MASTER_SHUTDOWN Yes No No No No No
NET_CTRL_CONNECTED Yes No No No No No
NET_CTRL_DISCONNECTED Yes No No No No No
MYTHFILLDATABASE_RAN Yes No No No No No
SETTINGS_CACHE_CLEARED Yes
USER_1 Yes
USER_2 Yes
USER_3 Yes
USER_4 Yes
USER_5 Yes
USER_6 Yes
USER_7 Yes
USER_8 Yes
USER_9 Yes
Event Name Description SENDER HOSTNAME CARDID CHANID STARTTIME SECS