Merge pull request #605 from flaktack/spirc-command-play-pause

Fix state toggling in SpircCommand::PlayPause
This commit is contained in:
Sasha Hilton 2021-02-21 23:30:48 +00:00 committed by GitHub
commit 2060901c1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -827,7 +827,7 @@ impl SpircTask {
self.handle_play()
}
SpircPlayStatus::Playing { .. } | SpircPlayStatus::LoadingPlay { .. } => {
self.handle_play()
self.handle_pause()
}
_ => (),
}