Is the com.roonlabs.transport:2/change_settings API working properly ?
I am trying to change the auto_radio mode property of a zone (Bureau) without success.
The request to the Roon server is successful, but nothing changes.
Here are the server-side logs:
08/05 14:27:30 Trace: [roonapi] [apiclient 192.168.1.170:62108] GOT com.roonlabs.transport:2/change_settings {
"settings": {
"auto_radio": true,
"loop": "disabled",
"shuffle": false
},
"zone_or_output_id": "160187bc7745777c31d9035b57893eea2a0a"
}
08/05 14:27:30 Trace: [roonapi] [apiclient 192.168.1.170:62108] COMPLETE Success
08/05 14:27:30 Trace: [roonapi] [apiclient 192.168.1.170:62108] GOT com.roonlabs.transport:2/get_zones {}
08/05 14:27:30 Trace: [roonapi] [apiclient 192.168.1.170:62108] COMPLETE Success {
"zones": [{
"zone_id": "160147f9356751858d122875bb55c4c84004",
"display_name": "Jardin",
"outputs": [{
"output_id": "170147f9356751858d122875bb55c4c84004",
"zone_id": "160147f9356751858d122875bb55c4c84004",
"can_group_with_output_ids": ["170187bc7745777c31d9035b57893eea2a0a",
"170147f9356751858d122875bb55c4c84004",
"1701a01f66afc1fad6722cc6c43c471731db"],
"display_name": "Jardin",
"volume": {
"type": "number",
"min": 0,
"max": 100,
"value": 25,
"step": 1,
"is_muted": false,
"hard_limit_min": 0,
"hard_limit_max": 100,
"soft_limit": 100
},
"source_controls": [{
"control_key": "1",
"display_name": "Allo Boss2",
"supports_standby": false,
"status": "indeterminate"
}]
}],
"state": "stopped",
"is_next_allowed": false,
"is_previous_allowed": true,
"is_pause_allowed": false,
"is_play_allowed": false,
"is_seek_allowed": false,
"queue_items_remaining": 0,
"queue_time_remaining": 0,
"settings": {
"loop": "disabled",
"shuffle": false,
"auto_radio": false
}
},
{
"zone_id": "160187bc7745777c31d9035b57893eea2a0a",
"display_name": "Bureau",
"outputs": [{
"output_id": "170187bc7745777c31d9035b57893eea2a0a",
"zone_id": "160187bc7745777c31d9035b57893eea2a0a",
"can_group_with_output_ids": ["170187bc7745777c31d9035b57893eea2a0a",
"170147f9356751858d122875bb55c4c84004",
"1701a01f66afc1fad6722cc6c43c471731db"],
"display_name": "Bureau",
"volume": {
"type": "number",
"min": 0,
"max": 100,
"value": 20,
"step": 1,
"is_muted": false,
"hard_limit_min": 0,
"hard_limit_max": 100,
"soft_limit": 100
},
"source_controls": [{
"control_key": "1",
"display_name": "snd_rpi_hifiberry_dacplus",
"supports_standby": false,
"status": "indeterminate"
}]
}],
"state": "playing",
"is_next_allowed": false,
"is_previous_allowed": true,
"is_pause_allowed": true,
"is_play_allowed": false,
"is_seek_allowed": true,
"queue_items_remaining": 1,
"queue_time_remaining": 332,
"settings": {
"loop": "disabled",
"shuffle": false,
"auto_radio": false
},
"now_playing": {
"seek_position": 1180,
"length": 1512,
"one_line": {
"line1": "Requiem for a Dream - Karnataka"
},
"two_line": {
"line1": "Requiem for a Dream",
"line2": "Karnataka"
},
"three_line": {
"line1": "Requiem for a Dream",
"line2": "Karnataka",
"line3": "Requiem for a Dream"
},
"image_key": "7f13475ba6a72c7f1d86d5c2a7580a2d",
"artist_image_keys": ["8f3c0ea097fff0dbd8c81c32869bb165"]
}
},
{
"zone_id": "1601a01f66afc1fad6722cc6c43c471731db",
"display_name": "Chambre 1",
"outputs": [{
"output_id": "1701a01f66afc1fad6722cc6c43c471731db",
"zone_id": "1601a01f66afc1fad6722cc6c43c471731db",
"can_group_with_output_ids": ["170187bc7745777c31d9035b57893eea2a0a",
"170147f9356751858d122875bb55c4c84004",
"1701a01f66afc1fad6722cc6c43c471731db"],
"display_name": "Chambre 1",
"volume": {
"type": "number",
"min": 0,
"max": 100,
"value": 10,
"step": 1,
"is_muted": false,
"hard_limit_min": 0,
"hard_limit_max": 100,
"soft_limit": 100
},
"source_controls": [{
"control_key": "1",
"display_name": "Bluesound PULSE FLEX 2i",
"supports_standby": false,
"status": "standby"
}]
}],
"state": "stopped",
"is_next_allowed": false,
"is_previous_allowed": true,
"is_pause_allowed": false,
"is_play_allowed": false,
"is_seek_allowed": false,
"queue_items_remaining": 0,
"queue_time_remaining": 0,
"settings": {
"loop": "disabled",
"shuffle": false,
"auto_radio": false
}
}]
}
Is there something I didn’t understand in the documentation JSDoc: Class: RoonApiTransport ?