Future<void> setAutoPlay(bool autoPlay) async { this.autoPlay = autoPlay; await notify(PlayerEvent.autoPlay); }