Also update repeat and shuffle status.

This commit is contained in:
Nick Steel 2018-02-17 15:59:04 +00:00
parent edabd042e4
commit a463633956

View file

@ -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) {