private void PopulateUI(CollectionSettings settings)
 {
     this.textMusicDirectory.Text = settings.MusicDirectory;
     this.textFileNamingPattern.Text = settings.FileNamingPattern;
     this.checkNetworkEncoding.IsChecked = settings.NetworkEncoding;
     this.textLocalThreads.Text = this.SettingsManager.Settings.LocalConcurrencyLevel.ToString();
 }
 private void ReloadSettings()
 {
     this.Settings = this.settingsCollection.FindOne();
     if (this.Settings == null)
     {
         this.Settings = CollectionSettings.CreateDefault();
         this.SaveSettings();
     }
 }