private void miFormatSettings_Click(object sender, RoutedEventArgs e)
        {
            //var videoFormatName = Settings.Default.VideoFormatName;
            //var audioFormatName = Settings.Default.AudioFormatName;
            var formatWindow = new FormatWindow(PlayoutRepository.GetMPlaylistSettings());

            //formatWindow.SetFormats(videoFormatName, audioFormatName);

            if (formatWindow.ShowDialog() == true)
            {
                PlayoutRepository.SaveMPlaylistSettings(formatWindow.MPlaylistSettings);

                //Settings.Default.VideoFormatName = formatWindow.VideoFormat;
                //Settings.Default.AudioFormatName = formatWindow.AudioFormat;
                //Settings.Default.Save();
            }
        }