From f81531836f4bd1f9abe299006818d13ae6ec20a8 Mon Sep 17 00:00:00 2001 From: "gerrelt_m@hotmail.com" Date: Mon, 4 Dec 2023 20:37:05 +0100 Subject: [PATCH] Kingosticks change: Obtain spclient access token using login5 instead of keymaster (Fixes librespot-org#1179) --- core/src/session.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/session.rs b/core/src/session.rs index 9d5e2cf6c..a1b7a282d 100755 --- a/core/src/session.rs +++ b/core/src/session.rs @@ -477,8 +477,8 @@ impl Session { self.0.data.read().auth_blob.clone() } - pub fn set_auth_blob(&self, auth_blob: &Vec) { - 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 {