You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
ok?
This commit is contained in:
@@ -51,7 +51,9 @@ class PopularitySorterModule(PlaylistModifierModule):
|
|||||||
track1 = playlist[i]
|
track1 = playlist[i]
|
||||||
track2 = playlist[i+1]
|
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.
|
# Get play counts for both tracks, defaulting to 0 if not found.
|
||||||
count1 = play_counts.get(track1.path.as_posix(), 0)
|
count1 = play_counts.get(track1.path.as_posix(), 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user