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

jingle correction

This commit is contained in:
Kuba
2025-10-11 18:10:10 +02:00
parent 63dc62cf61
commit 0e99cb1e10

View File

@@ -25,7 +25,7 @@ class Module(PlaylistModifierModule):
for (track, _, _, _, args) in playlist:
if not last_jingiel and random.choice([False, True, False, False]) and self.file and int(args.get("no_jingle", 0)) == 0:
out.append((track, True, False, True, args))
out.append((self.file, False, False, False, args))
out.append((self.file, False, False, False, {}))
last_jingiel = True
else:
out.append((track, True, True, True, args))