mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Update subscription uri
This fixes an issue loading new tracks probably caused by an update on spotify's side. The fix was suggested by @worleydl, all glory to them for figuring it out.
This commit is contained in:
parent
d2cadec419
commit
9b6b55ee7d
1 changed files with 2 additions and 1 deletions
|
@ -214,7 +214,8 @@ impl Spirc {
|
||||||
|
|
||||||
let ident = session.device_id().to_owned();
|
let ident = session.device_id().to_owned();
|
||||||
|
|
||||||
let uri = format!("hm://remote/3/user/{}/", session.username());
|
// Uri updated in response to issue #288
|
||||||
|
let uri = format!("hm://remote/user/{}/", session.username());
|
||||||
|
|
||||||
let subscription = session.mercury().subscribe(&uri as &str);
|
let subscription = session.mercury().subscribe(&uri as &str);
|
||||||
let subscription = subscription
|
let subscription = subscription
|
||||||
|
|
Loading…
Reference in a new issue