You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
fix?
This commit is contained in:
@@ -19,7 +19,7 @@ class Module(PlaylistModifierModule):
|
||||
out: list[Track] = []
|
||||
last_jingiel = True
|
||||
for track in playlist:
|
||||
if not last_jingiel and (random.randint(1,4) == 1) and self.file and (track.args and int(track.args.get("no_jingle", 0)) != 0):
|
||||
if not last_jingiel and (random.randint(1,3) == 1) and self.file and (track.args is None or int(track.args.get("no_jingle", 0)) == 0):
|
||||
out.append(Track(track.path, True, False, True, track.args))
|
||||
out.append(Track(self.file, False, False, False, {}))
|
||||
last_jingiel = True
|
||||
|
||||
Reference in New Issue
Block a user