mirror of
https://github.com/figsoda/mmtc
synced 2024-09-20 21:51:53 +00:00
correctly toggle pause
This commit is contained in:
parent
80389edbf1
commit
fde6692489
1 changed files with 2 additions and 2 deletions
|
@ -303,8 +303,8 @@ async fn run() -> Result<()> {
|
|||
}
|
||||
Command::TogglePause => {
|
||||
cl.command(match s.status.state {
|
||||
PlayerState::Play => b"play\n",
|
||||
PlayerState::Pause => b"pause\n",
|
||||
PlayerState::Play => b"pause\n",
|
||||
PlayerState::Pause => b"play\n",
|
||||
_ => continue,
|
||||
})
|
||||
.await
|
||||
|
|
Loading…
Reference in a new issue