Skip to content

Commit

Permalink
Merge pull request xfjx#69 from GuteLaune/GuteLaune-bugfix
Browse files Browse the repository at this point in the history
bigfix issue xfjx#66
  • Loading branch information
xfjx authored Jul 19, 2020
2 parents 1f274b4 + a5ba83f commit 36ec283
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Tonuino.ino
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,12 @@ class RepeatSingleModifier: public Modifier {
Serial.println(F("== RepeatSingleModifier::handleNext() -> REPEAT CURRENT TRACK"));
delay(50);
if (isPlaying()) return true;
mp3.playFolderTrack(myFolder->folder, currentTrack);
if (myFolder->mode == 3 || myFolder->mode == 9){
mp3.playFolderTrack(myFolder->folder, queue[currentTrack - 1]);
}
else{
mp3.playFolderTrack(myFolder->folder, currentTrack);
}
_lastTrackFinished = 0;
return true;
}
Expand Down

0 comments on commit 36ec283

Please sign in to comment.