mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-07-31 00:09:16 +02:00
this could result in duplicates
This commit is contained in:
@@ -40,7 +40,7 @@ class Module(ActiveModifier):
|
|||||||
else:
|
else:
|
||||||
next_track_to_fade_in = True
|
next_track_to_fade_in = True
|
||||||
|
|
||||||
self.originals.append(track)
|
if not self.originals or self.originals[-1] != track: self.originals.append(track)
|
||||||
|
|
||||||
with open("/tmp/radioPlayer_toplay", "w") as f: f.write('\n'.join(songs))
|
with open("/tmp/radioPlayer_toplay", "w") as f: f.write('\n'.join(songs))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user