private void PlayBeatmap(Beatmap map)
        {
            var  audioLocation = ((BeatmapExtension)map).FullAudioFileLocation();
            bool onlineSource  = false;

            if (audioLocation == string.Empty)
            {
                if (map.MapSetId <= 20)
                {
                    return;
                }

                onlineSource  = true;
                audioLocation = $@"https://b.ppy.sh/preview/{map.MapSetId}.mp3";
            }

            RunAsWorker(() =>
            {
                resetEvent.WaitOne(250);
                if (map.Equals(_model.CurrentBeatmap))
                {
                    musicPlayer.Play(audioLocation,
                                     _view.IsMusicPlayerMode || onlineSource ? 0 : Convert.ToInt32(Math.Round(map.PreviewTime / 1000f)));
                }
            });
        }
        private void PlayBeatmap(Beatmap map)
        {
            var audioLocation = ((BeatmapExtension)map).FullAudioFileLocation();

            if (audioLocation != string.Empty)
            {
                RunAsWorker(() =>
                {
                    resetEvent.WaitOne(250);
                    if (map.Equals(_model.CurrentBeatmap))
                    {
                        musicPlayer.Play(audioLocation,
                                         _view.IsMusicPlayerMode ? 0 : Convert.ToInt32(Math.Round(map.PreviewTime / 1000f)));
                    }
                });
            }
        }