Browse Source

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.
Åke Forslund 6 năm trước cách đây
mục cha
commit
9b6b55ee7d
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      connect/src/spirc.rs

+ 2 - 1
connect/src/spirc.rs

@@ -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