From 012b7fc0e0c20e28e6aa4987238528ec0b7e702d Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sat, 20 Dec 2025 20:22:27 +0100 Subject: [PATCH] ok? --- modules/play_sort.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/play_sort.py b/modules/play_sort.py index c64df93..6a82d6b 100644 --- a/modules/play_sort.py +++ b/modules/play_sort.py @@ -51,7 +51,9 @@ class PopularitySorterModule(PlaylistModifierModule): track1 = playlist[i] track2 = playlist[i+1] - # if not (track1.official and track2.official): continue + if not (track1.official and track2.official): + i += 2 + continue # Get play counts for both tracks, defaulting to 0 if not found. count1 = play_counts.get(track1.path.as_posix(), 0)