skip
Skip tracks in the queue for a Sonos device by specifying the number of tracks to advance and the device name. Returns the updated device state, including track, volume, and playback details.
Instructions
Skip tracks in the queue for a Sonos device.
Args: increment: The number of tracks to skip forward. Defaults to 1. name: The name of the device to skip tracks on. If None, uses the current device.
Returns: Dict[str, Any]: The device's state after skipping tracks, including name, volume, state, and track info.
Raises: ValueError: If the new track position is out of the queue's range.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
increment | No | ||
name | No |