0.22 Python bindings/Frontend
From MythTV Official Wiki
This class is used for interfacing with the Frontend control socket
Contents |
Frontend(host, port)
Opens a control socket to a frontend, throws exception if frontend is not accessible.
getJump()
Returns a tuple containing available jumppoints with description
sendJump(jumppoint)
Sends jumppoint to frontend, returns 0 on failure, 1 on success
getKey()
Returns a tuple containing available special keys
sendKey(key)
Sends keycode to frontend, returns 0 on failure, 1 on success
getQuery()
Returns a tuple containing available data queries with description
sendQuery(query)
Sends query to frontend, returns query response
getPlay()
Returns a tuple containing available playback commands with description
sendPlay(play)
Sends playback command to frontend, returns 0 on failure, 1 on success