mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Merge pull request #708 from librespot-org/revert-666-dev
Revert "Add shuffle command and command handling"
This commit is contained in:
commit
cc9d6f54ce
1 changed files with 1 additions and 2 deletions
|
@ -352,7 +352,7 @@ impl Spirc {
|
||||||
let _ = self.commands.send(SpircCommand::Shutdown);
|
let _ = self.commands.send(SpircCommand::Shutdown);
|
||||||
}
|
}
|
||||||
pub fn shuffle(&self) {
|
pub fn shuffle(&self) {
|
||||||
let _ = self.commands.unbounded_send(SpircCommand::Shuffle);
|
let _ = self.commands.send(SpircCommand::Shuffle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -525,7 +525,6 @@ impl SpircTask {
|
||||||
}
|
}
|
||||||
SpircCommand::Shuffle => {
|
SpircCommand::Shuffle => {
|
||||||
CommandSender::new(self, MessageType::kMessageTypeShuffle).send();
|
CommandSender::new(self, MessageType::kMessageTypeShuffle).send();
|
||||||
self.commands.close();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue