mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
Fix tracing of client token
This commit is contained in:
parent
7b19d4c1dd
commit
65e48864a5
1 changed files with 5 additions and 2 deletions
|
@ -162,9 +162,12 @@ impl SpClient {
|
|||
message.set_request_type(ClientTokenRequestType::REQUEST_CLIENT_DATA_REQUEST);
|
||||
|
||||
let client_data = message.mut_client_data();
|
||||
client_data.set_client_id(KEYMASTER_CLIENT_ID.to_string());
|
||||
client_data.set_client_version(spotify_version());
|
||||
|
||||
// using 9a8d2f0ce77a4e248bb71fefcb557637 on Android
|
||||
// instead of the keymaster ID presents a hash cash challenge
|
||||
client_data.set_client_id(KEYMASTER_CLIENT_ID.to_string());
|
||||
|
||||
let connectivity_data = client_data.mut_connectivity_sdk_data();
|
||||
connectivity_data.set_device_id(self.session().device_id().to_string());
|
||||
|
||||
|
@ -308,7 +311,7 @@ impl SpClient {
|
|||
inner.client_token = Some(client_token);
|
||||
});
|
||||
|
||||
trace!("Got client token: {:?}", client_token);
|
||||
trace!("Got client token: {:?}", granted_token);
|
||||
|
||||
Ok(access_token)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue