Skip to content

Commit

Permalink
bigfix issue xfjx#66
Browse files Browse the repository at this point in the history
Fehler bei "Titel wiederholen" im Partymodus behoben
  • Loading branch information
GuteLaune authored May 31, 2020
1 parent 1f274b4 commit a5ba83f
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 a5ba83f

Please sign in to comment.