Skip to content

Commit 56c7a2c

Browse files
committed
Fixed #383
1 parent 5e7d124 commit 56c7a2c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

player/src/main/java/xyz/gianlu/librespot/player/StateWrapper.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,10 +1262,8 @@ synchronized PlayableIdWithIndex nextPlayableDoNotSet() throws IOException, Merc
12621262

12631263
@NotNull
12641264
synchronized NextPlayable nextPlayable(boolean autoplayEnabled) throws IOException, MercuryClient.MercuryException {
1265-
if (isRepeatingTrack()) {
1266-
setRepeatingTrack(false);
1265+
if (isRepeatingTrack())
12671266
return NextPlayable.OK_REPEAT;
1268-
}
12691267

12701268
if (!queue.isEmpty()) {
12711269
isPlayingQueue = true;

0 commit comments

Comments
 (0)