Addition to last commit | Added ability to queue songs

This commit is contained in:
Johnny @PC 2014-08-05 18:56:29 +02:00
parent 763c095818
commit 544136e7c0
2 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpotifyAPI", "SpotifyAPI\Sp
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpotifyWebAPIExample", "SpotifyWebAPIExample\SpotifyWebAPIExample.csproj", "{004B45C3-BB98-4E62-AD11-D80BA64FEB8E}"
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
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -53,6 +53,10 @@ namespace SpotifyAPI.SpotifyLocalAPI
{
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()
{
String response = query("remote/status.json", true, true, -1);