put_airmedia_config
Update AirMedia configuration to enable or disable the server and set a password for client access.
Instructions
Update the current AirMediaConfig
Error codes: unknown_target, no_client, set_pass, set_onscreen_code, no_ctrl, http, bad_session, bad_name, bad_device_id, bad_remote_id, req_in_progress, fetch, no_display, playback_state, no_slideshow_srv, no_mem, inout_file, no_volume_control, connect, unauthorized, unsupported_media, bad_type, unimplemented
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "put_airmedia_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Enable/Disable the airmedia server | |
| password | No | If not empty, the client will have to enter a password to be able to use this airmedia server |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||