Skip to content

Commit d5f569a

Browse files
committed
fix in progress album queue jump
1 parent b56a2f8 commit d5f569a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tauon/t_modules/t_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2960,7 +2960,7 @@ def jump(self, index: int, pl_position: int | None = None, jump: bool = True) ->
29602960
self.stop_ref = (tr.parent_folder_path, tr.album)
29612961

29622962
if self.force_queue and not self.pause_queue:
2963-
if self.force_queue[0].uuid_int == 1: # TODO(Martin): How can the UUID be 1 when we're doing a random on 1-1m except for massive chance? Is that the point?
2963+
if self.force_queue[0].type == QueueType.ALBUM and self.force_queue[0].album_stage == 1:
29642964
if self.get_track(self.force_queue[0].track_id).parent_folder_path != self.get_track(index).parent_folder_path:
29652965
del self.force_queue[0]
29662966

0 commit comments

Comments
 (0)