mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
Also update repeat and shuffle status.
This commit is contained in:
parent
edabd042e4
commit
a463633956
1 changed files with 2 additions and 0 deletions
|
@ -633,6 +633,8 @@ impl SpircTask {
|
|||
self.state.set_playing_track_index(index);
|
||||
self.state.set_track(tracks.into_iter().cloned().collect());
|
||||
self.state.set_context_uri(context_uri);
|
||||
self.state.set_repeat(frame.get_state().get_repeat());
|
||||
self.state.set_shuffle(frame.get_state().get_shuffle());
|
||||
}
|
||||
|
||||
fn load_track(&mut self, play: bool) {
|
||||
|
|
Loading…
Reference in a new issue