GitLab source code fix for removing custom Ogg page
This commit is contained in:
parent
5cec24ba53
commit
1c62192cd8
@ -177,7 +177,7 @@ void Utils::DownloadSong(std::string fileId, std::string trackUri, std::string k
|
||||
AES_CTR_xcrypt_buffer(&ctx, reinterpret_cast<uint8_t*>(&songStr[0]), songStr.size());
|
||||
|
||||
// Remove custom Spotify Ogg page from beginning of file
|
||||
songStr = songStr.substr(songStr.find("ÿÿÿÿOggS") + 4);
|
||||
songStr = songStr.substr(songStr.find("\xFF\xFF\xFF\xFFOggS") + 4);
|
||||
|
||||
if (!trackUri.empty())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user