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

clear buffer in active mod on new pl

This commit is contained in:
2026-01-26 16:55:05 +01:00
parent 19daa6bcc4
commit 8175b2ad6a

View File

@@ -25,6 +25,7 @@ class Module(ActiveModifier):
self.skip_next = False
def on_new_playlist(self, playlist: list[Track], global_args: dict[str, str]):
self.playlist = playlist
self.originals = []
self.crossfade = float(global_args.get("crossfade", DEFAULT_CROSSFADE))
if not self._imc: return