Fix resume on delte current and queue on empty
This commit is contained in:
parent
258d45a29e
commit
06c02ac75c
|
|
@ -189,8 +189,11 @@ impl Playback {
|
|||
track
|
||||
};
|
||||
debug!("queue lock released");
|
||||
let state = *self.state.lock().unwrap();
|
||||
if state == PlayState::Playing {
|
||||
self.play(track).in_current_span().await;
|
||||
}
|
||||
}
|
||||
|
||||
PlaybackMessage::Insert {
|
||||
position,
|
||||
|
|
|
|||
Loading…
Reference in New Issue