Difference between revisions of "TOGGLE CHANNEL FAVORITE (Myth Protocol)"

From MythTV Official Wiki
Jump to: navigation, search
(Created page with '== TOGGLE_CHANNEL_FAVORITE == === Arguments === '''Command arguments''': <recorder id> '''List arguments''': ??? === Examples === Command: ??? Response: ??? === Description …')
 
(added details)
 
Line 3: Line 3:
 
'''Command arguments''': <recorder id>
 
'''Command arguments''': <recorder id>
  
'''List arguments''': ???
+
'''List arguments''': <channel group>
  
 
=== Examples ===
 
=== Examples ===
 
Command:
 
Command:
???
+
<pre>58      QUERY_RECORDER 1[]:[]TOGGLE_CHANNEL_FAVORITE[]:[]ChanGroup</pre>
Response:
 
???
 
  
 
=== Description ===
 
=== 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.
  
=== Returns ===
 
 
Successful response:
 
Successful response:
???
+
<pre>ok</pre>
  
 
Unsuccessful response:
 
Unsuccessful response:
???
+
<pre>bad</pre>
  
 
[[Category:Recorder_Queries_(Myth_Protocol)]]
 
[[Category:Recorder_Queries_(Myth_Protocol)]]

Latest revision as of 03:12, 5 March 2011

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