private async void Player_MPC_Running() { if (CurrentVideo != null) { TimerGetPositionEnabled = false; restorePosition = (int)position; nowPlayingPath = null; await Task.Delay(1000); await apiAccess.OpenFileAsync(MediaFileName); } }