The track the request is scoped to.
Requested quality (for example lossless). Defaults to lossless.
Requested codecs string. Defaults to FILE_INFO_CODECS.
Requested transport string. Defaults to FILE_INFO_TRANSPORT.
The signing key. Defaults to DEFAULT_SIGN_KEY.
The timestamp/value pair to send alongside the request.
Create the signature for a
/get-file-info(lossless download) request.The signature is
HMAC-SHA256(key, "{ts}{trackId}{quality}{codecs}{transport}")with commas stripped, Base64-encoded, with the trailing character removed — matching the Android client. The samecodecs/transportstrings must be sent in the query for the signature to validate.