Преглед на файлове

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 години
родител
ревизия
9b6b55ee7d
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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