+ player.set_progress_callback([¤t_value, &clips, total_length] (const std::map<size_t, double> &player_progress) {
+ current_value = 1.0 - compute_time_left(clips, player_progress) / total_length;
+ });
+ player.play_clip(clips[0], clip_idx, clips[0].stream_idx);