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:
Åke Forslund 2019-02-22 14:09:01 +01:00
parent d2cadec419
commit 9b6b55ee7d

View file

@ -214,7 +214,8 @@ impl Spirc {
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 = subscription