mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
Added AddToQueue
This commit is contained in:
parent
284d80ff6f
commit
307d69945e
@ -217,3 +217,21 @@ ErrorResponse error = _spotify.SetVolume(50);
|
|||||||
```csharp
|
```csharp
|
||||||
ErrorResponse error = _spotify.SetShuffle(false);
|
ErrorResponse error = _spotify.SetShuffle(false);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## AddToQueue
|
||||||
|
> Add an Item to the User's Playback Queue. BETA.
|
||||||
|
|
||||||
|
**Parameters**
|
||||||
|
|
||||||
|
|Name|Description|Example|
|
||||||
|
|--------------|-------------------------|-------------------------|
|
||||||
|
|uri|The uri of the item to add to the queue. Must be a track or an episode uri.| `spotify:track:7zrCVKp6x0AtolOsn2iMif`
|
||||||
|
|[deviceId]| The id of the device this command is targeting. If not supplied, the user's currently active device is the target. | `"XXXX-XXXX-XXXX-XXXX"`
|
||||||
|
|
||||||
|
**Usage**
|
||||||
|
|
||||||
|
```csharp
|
||||||
|
ErrorResponse error = _spotify.AddToQueue("spotify:track:7zrCVKp6x0AtolOsn2iMif");
|
||||||
|
```
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user