0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-26 13:52:00 +01:00
This commit is contained in:
2025-12-20 20:22:27 +01:00
parent f943d04403
commit 012b7fc0e0

View File

@@ -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)