Revert storage resolve URL scheme to old version to fix support for premium users
This commit is contained in:
parent
cdcff669f4
commit
72643f8067
@ -289,7 +289,8 @@ void Utils::DownloadSong(std::string fileId, std::string uri, std::string key, s
|
|||||||
// Get storage resolve from Spotify
|
// Get storage resolve from Spotify
|
||||||
std::string urlNum = std::to_string(GetUrlNum(quality));
|
std::string urlNum = std::to_string(GetUrlNum(quality));
|
||||||
std::string srStr = DownloadSpotifyUrl("spclient.wg.spotify.com",
|
std::string srStr = DownloadSpotifyUrl("spclient.wg.spotify.com",
|
||||||
"/storage-resolve/v2/files/audio/interactive/" + urlNum + "/" + fileId + "?product=0", authToken);
|
"/storage-resolve/files/audio/interactive_prefetch/" + fileId + "?product=0", authToken);
|
||||||
|
//"/storage-resolve/v2/files/audio/interactive/" + urlNum + "/" + fileId + "?product=0", authToken);
|
||||||
|
|
||||||
if (srStr.length() <= 5)
|
if (srStr.length() <= 5)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user