TOGGLE CHANNEL FAVORITE (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

TOGGLE_CHANNEL_FAVORITE

Arguments

Command arguments: <recorder id>

List arguments: <channel group>

Examples

Command:

58      QUERY_RECORDER 1[]:[]TOGGLE_CHANNEL_FAVORITE[]:[]ChanGroup

Description

Toggle the current channel in or out of the given channel group. This command only works for recorders connected locally to the backend receiving the command.

Returns

Note: "ok" will be returned even if the backend ignores the request, so it should not be used as confirmation. However, "bad" will be sent if the recorder is not connected.

Successful response:

ok

Unsuccessful response:

bad