public void LoadSettings(object parameter)
        {
            //SettingsVisible = Visibility.Collapsed;
              AvailableTvDbLanguages = new TheTvDbImporter().GetAvailableLanguages();
              SelectedTvDbLanguage = App.Config.SelectedTvDbLanguage;

              AvailableTMDBLanguages = CultureInfo.GetCultures(CultureTypes.AllCultures).ToList();
              SelectedTMDBLanguage = App.Config.SelectedTMDBLanguage;

              MPTVSeriesDatabasePath = App.Config.MPTVSeriesDatabasePath;
              BasedOnExistingTags = App.Config.BasedOnExistingTags;
              OptionalSeriesTags = new ObservableCollection<TagSetting>(App.Config.OptionalSeriesTags.Values);
        }
        private void tvdb_OnClick(object sender, RoutedEventArgs e)
        {
            if (string.IsNullOrWhiteSpace(txtFilename.Text)) return;
              if (!File.Exists(txtFilename.Text)) return;

              // Use original tags as base with latest changes from GUI
              MatroskaTags tag = MatroskaLoader.Clone(originalTag);
              tag.Series = UpdateTagFromGUI(tag.Series);

              // Update from TVSeries
              try
              {
            TheTvDbImporter importer = new TheTvDbImporter();
            tag.Series = importer.UpdateTags(tag.Series);
              }
              catch (Exception ex)
              {
            MessageBox.Show(ex.Message);
            return;
              }

              UpdateGUI(tag.Series);
        }