You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
massive clean ups (i wonder if it starts)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import random
|
||||
|
||||
from . import PlaylistModifierModule
|
||||
from . import PlaylistModifierModule, Track
|
||||
|
||||
class Module(PlaylistModifierModule):
|
||||
def modify(self, global_args: dict, playlist: list[tuple[str, bool, bool, bool, dict]]):
|
||||
def modify(self, global_args: dict, playlist: list[Track]):
|
||||
if int(global_args.get("no_shuffle", 0)) == 0:
|
||||
random.shuffle(playlist)
|
||||
return playlist
|
||||
|
||||
Reference in New Issue
Block a user