You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 21:53:54 +01:00
clear buffer in active mod on new pl
This commit is contained in:
@@ -25,6 +25,7 @@ class Module(ActiveModifier):
|
|||||||
self.skip_next = False
|
self.skip_next = False
|
||||||
def on_new_playlist(self, playlist: list[Track], global_args: dict[str, str]):
|
def on_new_playlist(self, playlist: list[Track], global_args: dict[str, str]):
|
||||||
self.playlist = playlist
|
self.playlist = playlist
|
||||||
|
self.originals = []
|
||||||
self.crossfade = float(global_args.get("crossfade", DEFAULT_CROSSFADE))
|
self.crossfade = float(global_args.get("crossfade", DEFAULT_CROSSFADE))
|
||||||
|
|
||||||
if not self._imc: return
|
if not self._imc: return
|
||||||
|
|||||||
Reference in New Issue
Block a user