mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 15:06:26 +00:00
Addition to last commit | Added ability to queue songs
This commit is contained in:
parent
763c095818
commit
544136e7c0
@ -7,7 +7,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpotifyAPI", "SpotifyAPI\Sp
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpotifyWebAPIExample", "SpotifyWebAPIExample\SpotifyWebAPIExample.csproj", "{004B45C3-BB98-4E62-AD11-D80BA64FEB8E}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpotifyWebAPIExample", "SpotifyWebAPIExample\SpotifyWebAPIExample.csproj", "{004B45C3-BB98-4E62-AD11-D80BA64FEB8E}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpotifyAPI_Example", "SpotifyAPI_Example\SpotifyAPI_Example.csproj", "{C12D46F9-BB35-46D6-B821-522B8F9C3CBE}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpotifyLocalAPIExample", "SpotifyLocalAPIExample\SpotifyLocalAPIExample.csproj", "{C12D46F9-BB35-46D6-B821-522B8F9C3CBE}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
@ -53,6 +53,10 @@ namespace SpotifyAPI.SpotifyLocalAPI
|
|||||||
{
|
{
|
||||||
query("remote/play.json?uri=" + url, true, true, -1);
|
query("remote/play.json?uri=" + url, true, true, -1);
|
||||||
}
|
}
|
||||||
|
internal void SendQueueRequest(String url)
|
||||||
|
{
|
||||||
|
query("remote/play.json?uri=" + url + "?action=queue", true, true, -1);
|
||||||
|
}
|
||||||
internal StatusResponse Update()
|
internal StatusResponse Update()
|
||||||
{
|
{
|
||||||
String response = query("remote/status.json", true, true, -1);
|
String response = query("remote/status.json", true, true, -1);
|
||||||
|
Loading…
Reference in New Issue
Block a user