Use the loadHomeTheaterPlayback
command in the homeTheater
namespace to signal the player to switch to its TV input (optical or HDMI) for playback.
Note that this command is only applicable for Sonos players that support home theater inputs, such as the Playbar, Playbase, and Beam. If your integration sends this command to a player that doesn’t support it, the player returns a globalError
with an errorCode
of ERROR_UNSUPPORTED_NAMESPACE
.
Endpoint
POST
1 |
/players/{playerId}/homeTheater |
Request Parameters
This command requires a playerId
to determine the target of the command. See the Control documentation for details.
Response
Returns an empty body with a success
value of true if successful. In the event of a failure, returns a globalError
.