1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 09:49:31 +02:00

Send platform-dependent client token request

This commit is contained in:
Roderick van Domburg 2022-01-26 22:24:40 +01:00
parent 31c682453b
commit cb1cfddb74
No known key found for this signature in database
GPG key ID: A9EF5222A26F0451
4 changed files with 63 additions and 14 deletions

View file

@ -86,7 +86,7 @@ impl HttpClient {
let spotify_platform = match OS {
"android" => "Android/31",
"ios" => "iOS/15.2",
"ios" => "iOS/15.2.1",
"macos" => "OSX/0",
"windows" => "Win32/0",
_ => "Linux/0",