mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Change Connect mercury URL
This commit is contained in:
parent
ba51b8f236
commit
7c237c77df
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ impl Spirc {
|
|||
|
||||
let ident = session.device_id().to_owned();
|
||||
|
||||
let uri = format!("hm://remote/user/{}", session.username());
|
||||
let uri = format!("hm://remote/3/user/{}/", session.username());
|
||||
|
||||
let subscription = session.mercury().subscribe(&uri as &str);
|
||||
let subscription = subscription.map(|stream| stream.map_err(|_| MercuryError)).flatten_stream();
|
||||
|
|
Loading…
Reference in a new issue