transfer_playback
Move active Spotify playback to a chosen device by providing its device ID.
Instructions
Transfer Spotify playback to a specific device.
Parameters
device_id : str The Spotify device ID to transfer playback to.
Returns
dict
{"status": "transferred", "device_id": str}
Raises
ValueError
If device_id is blank.
spotipy.SpotifyException
Propagated if the Spotify API returns a non-2xx response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||