We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2915ee commit 80c27ecCopy full SHA for 80c27ec
connect/src/spirc.rs
@@ -977,7 +977,10 @@ impl SpircTask {
977
return self.notify().await;
978
}
979
Play(mut play) => {
980
- let first_page = play.context.pages.pop();
+ if !self.connect_state.is_active() {
981
+ self.handle_activate()
982
+ }
983
+
984
let context = match play.context.uri {
985
Some(s) => PlayContext::Uri(s),
986
None if !play.context.pages.is_empty() => PlayContext::Tracks(
@@ -1008,7 +1011,7 @@ impl SpircTask {
1008
1011
context_options,
1009
1012
},
1010
1013
- first_page,
1014
+ play.context.pages.pop(),
1015
)
1016
.await?;
1017
0 commit comments