2019-11-27 12:54:00 +00:00
|
|
|
call_method:
|
2019-10-31 19:32:05 +00:00
|
|
|
description: Call a custom Squeezebox JSONRPC API.
|
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Name(s) of the Squeezebox entities where to run the API method.
|
2020-04-05 15:27:16 +00:00
|
|
|
example: "media_player.squeezebox_radio"
|
2019-10-31 19:32:05 +00:00
|
|
|
command:
|
|
|
|
description: Command to pass to Logitech Media Server (p0 in the CLI documentation).
|
2020-04-05 15:27:16 +00:00
|
|
|
example: "playlist"
|
2019-10-31 19:32:05 +00:00
|
|
|
parameters:
|
2020-05-04 14:20:21 +00:00
|
|
|
description: >
|
|
|
|
Array of additional parameters to pass to Logitech Media Server (p1, ..., pN in the CLI documentation).
|
2020-05-12 19:10:46 +00:00
|
|
|
example: '["loadtracks", "album.titlesearch=Revolver"]'
|
2020-05-04 14:20:21 +00:00
|
|
|
call_query:
|
|
|
|
description: >
|
|
|
|
Call a custom Squeezebox JSONRPC API. Result will be stored in 'query_result' attribute of the Squeezebox entity.
|
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Name(s) of the Squeezebox entities where to run the API method.
|
|
|
|
example: 'media_player.squeezebox_radio'
|
|
|
|
command:
|
|
|
|
description: Command to pass to Logitech Media Server (p0 in the CLI documentation).
|
|
|
|
example: 'albums'
|
|
|
|
parameters:
|
|
|
|
description: >
|
|
|
|
Array of additional parameters to pass to Logitech Media Server (p1, ..., pN in the CLI documentation).
|
2020-05-12 19:10:46 +00:00
|
|
|
example: '["0", "20", "search:Revolver"]'
|
2020-05-04 14:20:21 +00:00
|
|
|
sync:
|
|
|
|
description: >
|
|
|
|
Add another player to this player's sync group. If the other player is already in a sync group, it will leave it.
|
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Name of the Squeezebox entity where to run the API method.
|
|
|
|
example: "media_player.bedroom"
|
|
|
|
other_player:
|
|
|
|
description: Name of the other Squeezebox player to link.
|
|
|
|
example: "media_player.living_room"
|
|
|
|
unsync:
|
|
|
|
description: Remove this player from its sync group.
|
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Name of the Squeezebox entity to unsync.
|