We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee9eb38 commit 6867e14Copy full SHA for 6867e14
Orchestrion/Audio/PlaylistManager.cs
@@ -148,7 +148,7 @@ private static int GenerateNextSongId()
148
} else { // played twice, move on to next song
149
if (CurrentPlaylist.ShuffleMode == ShuffleMode.Off) {
150
_currentSongIndex = ++_currentSongIndex % CurrentPlaylist.Songs.Count;
151
- else { // ShuffleMode.On
+ } else { // ShuffleMode.On
152
_currentSongIndex = Random.Shared.Next(CurrentPlaylist.Songs.Count);
153
}
154
0 commit comments