Kingosticks change: Obtain spclient access token using login5 instead of keymaster (Fixes librespot-org#1179)

This commit is contained in:
gerrelt_m@hotmail.com 2023-12-04 20:37:05 +01:00
parent a54cc8f5cd
commit f81531836f

View file

@ -477,8 +477,8 @@ impl Session {
self.0.data.read().auth_blob.clone()
}
pub fn set_auth_blob(&self, auth_blob: &Vec<u8>) {
self.0.data.write().auth_blob = auth_blob.clone();
pub fn set_auth_blob(&self, auth_blob: &[u8]) {
self.0.data.write().auth_blob = auth_blob.to_owned();
}
pub fn country(&self) -> String {