When chaging to another track, play it from the beginning.
This commit is contained in:
parent
fff9d9bc61
commit
b5ec78ab41
@ -84,6 +84,7 @@ bool Playlist::track_next() {
|
||||
bool Playlist::set_track(uint8_t track) {
|
||||
if (track < _files.size()) {
|
||||
_current_track = track;
|
||||
_position = 0;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user