Fixed Spotify.Play
and fixed TCP.Connect
.
This commit is contained in:
@@ -155,9 +155,6 @@ namespace ehs
|
||||
Request req(Verb::PUT, "/v1/me/player/play");
|
||||
req.BearerAuth(token);
|
||||
|
||||
client.Release();
|
||||
client.Initialize();
|
||||
client.Connect("", SSL::HTTPS_Port);
|
||||
client.SendReq(req);
|
||||
|
||||
Response res = client.RecvRes();
|
||||
@@ -590,7 +587,7 @@ namespace ehs
|
||||
|
||||
bool Spotify::ReAuthorize()
|
||||
{
|
||||
SSL accounts;
|
||||
SSL accounts(AddrType::IPV4);
|
||||
accounts.Initialize();
|
||||
accounts.Connect("accounts.spotify.com", SSL::HTTPS_Port);
|
||||
|
||||
|
Reference in New Issue
Block a user