def get_protocol_msg(self): msg = protocols.VideoSetPlaylist() msg.version_id = self.version_id msg.clip_keys.extend(self.clip_keys) msg.final_loop = self.loop_last msg.video_overlay = self.display_type == VideoDisplayType.LIGHT_OVERLAY msg.mute_speed = self.mute_speed msg.distortion_speed = self.distortion_speed if self.speed_audio_clip_replacement is not None: msg.speed_audio_clip_replacement = self.speed_audio_clip_replacement.instance msg.append_clip = self.append_clip return msg
def get_protocol_msg(self): msg = protocols.VideoSetPlaylist() msg.version_id = self.version_id msg.clip_keys.extend(self.clip_keys) msg.final_loop = self.loop_last return msg