From 9bb3f999b1e9e8f95bb6d6e7752a51a0a9ca618c Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Sat, 1 May 2021 12:15:07 +0200 Subject: [PATCH] Also seek to 0 for other repeat modes with 1 item playlists --- src/playlist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlist.js b/src/playlist.js index 9d874f80..c6265e7b 100644 --- a/src/playlist.js +++ b/src/playlist.js @@ -168,7 +168,7 @@ class ClapperPlaylistWidget extends Gtk.ListBox * or playlist with only one item */ if( this.repeatMode === RepeatMode.TRACK - || (this.repeatMode === RepeatMode.PLAYLIST + || (this.repeatMode !== RepeatMode.NONE && this.activeRowId === 0 && !this.get_row_at_index(1)) ) {