0
1
mirror of https://github.com/radio95-rnt/RadioPlayer.git synced 2026-02-27 06:03:52 +01:00

compression?

This commit is contained in:
Kuba
2025-11-02 10:31:02 +01:00
parent 7769d95f0c
commit 3484f0cd61
8 changed files with 27 additions and 34 deletions

View File

@@ -4,8 +4,7 @@ from . import PlaylistModifierModule, Track
class Module(PlaylistModifierModule):
def modify(self, global_args: dict, playlist: list[Track]):
if int(global_args.get("no_shuffle", 0)) == 0:
random.shuffle(playlist)
return playlist
if int(global_args.get("no_shuffle", 0)) == 0: random.shuffle(playlist)
return None
playlistmod = (Module(), 0)