-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d92d0dd
commit 61a08e7
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
# mode_list (BCP command) | ||
This message informs the media controller about which modes are currently running. It is sent whenever a mode starts or stops, but only to clients currently [monitoring](monitor_start.md) the `mode` category. | ||
|
||
## Origin | ||
Pin controller | ||
|
||
|
||
## Parameters | ||
### running_modes | ||
Type: JSON Array | ||
|
||
Example (Formatted for legibility; the parameter does not contain line-breaks): | ||
``` | ||
{ | ||
"running_modes": [ | ||
[ | ||
"base", | ||
100 | ||
], | ||
[ | ||
"game", | ||
20 | ||
] | ||
] | ||
} | ||
``` | ||
|
||
Each element of the array is another JSON Array with the following elements: | ||
|
||
1. The name of the mode (`string`) | ||
2. The priority of the mode (`int`) |