public async Task PlayVideoAsync(Media video, bool enableAutoPitch) {
CurrentVideo = video;
IsAutoPitchEnabled = enableAutoPitch;
customFileName = null;
TimerGetPositionEnabled = false;
position = 0;
nowPlayingPath = null;
lastStartTime = DateTime.Now;
watcher.EnsureRunning();
await apiAccess.OpenFileAsync(MediaFileName);
// If video doesn't load after 5 seconds, send the play command again.
timerPlayTimeout.Stop();
timerPlayTimeout.Start();
}