class PlayerModule: def on_new_playlist(self, playlist: list[str]): pass def on_new_track(self, track: str, index: int): pass