private void RestoreSelections()
{
ReleaseAlbumTextBox.Text = SettingsHandler.GetReleaseFormat("Album");
ReleaseBootlegTextbox.Text = SettingsHandler.GetReleaseFormat("Bootleg");
ReleaseCompilationTextBox.Text = SettingsHandler.GetReleaseFormat("Compilation");
ReleaseEPTextBox.Text = SettingsHandler.GetReleaseFormat("EP");
ReleaseInterviewTextBox.Text = SettingsHandler.GetReleaseFormat("Interview");
ReleaseLiveTextBox.Text = SettingsHandler.GetReleaseFormat("Live");
ReleaseMixtapeTextBox.Text = SettingsHandler.GetReleaseFormat("Mixtape");
ReleaseRemixTextBox.Text = SettingsHandler.GetReleaseFormat("Remix");
ReleaseSingleTextBox.Text = SettingsHandler.GetReleaseFormat("Single");
ReleaseSoundboardTextBox.Text = SettingsHandler.GetReleaseFormat("Soundboard");
ReleaseUnknownTextBox.Text = SettingsHandler.GetReleaseFormat("Unknown");
Bitrate24bitTextBox.Text = SettingsHandler.GetBitrate("24bitLossless");
BitrateAPSTextBox.Text = SettingsHandler.GetBitrate("APS");
BitrateAPXTextBox.Text = SettingsHandler.GetBitrate("APX");
BitrateCBRTextBox.Text = SettingsHandler.GetBitrate("CBR");
BitrateLosslessTextBox.Text = SettingsHandler.GetBitrate("Lossless");
BitrateQ8xTextBox.Text = SettingsHandler.GetBitrate("q8x");
BitrateVBRTextBox.Text = SettingsHandler.GetBitrate("VBR");
MusicFolderTextbox.Text = SettingsHandler.GetDownloadFolder();
CustomFolderTextbox.Text = SettingsHandler.GetCustomDirectory();
TorrentFolderTextbox.Text = SettingsHandler.GetTorrentSaveFolder();
TorrentProgramDirectoryTextbox.Text = SettingsHandler.GetTorrentClientFolder();
AutoCheckTime.Value = SettingsHandler.GetRawHandleTime();
MovieDownloadFolderTextBox.Text = SettingsHandler.GetMovieDownloadDirectory();
MovieSwitchesTextBox.Text = SettingsHandler.GetMovieCustomDirectory();
OtherDownloadTextBox.Text = SettingsHandler.GetOtherDownloadDirectory();
if (SettingsHandler.GetVariousArtistsDownloadDirectory().Equals("") || SettingsHandler.GetVariousArtistsDownloadDirectory().Equals(null))
VariousArtistsDirectoryTextBox.Text = MusicFolderTextbox.Text;
else
VariousArtistsDirectoryTextBox.Text = SettingsHandler.GetVariousArtistsDownloadDirectory();
if (SettingsHandler.GetVariousArtistsDownloadSwitches().Equals(null) || SettingsHandler.GetVariousArtistsDownloadSwitches().Equals(""))
VariousArtistsSwitchesTextBox.Text = CustomFolderTextbox.Text;
else
VariousArtistsSwitchesTextBox.Text = SettingsHandler.GetVariousArtistsDownloadSwitches();
if (SettingsHandler.GetArtistFlip())
TheArtistOptions.Text = "Flip (Artist, The)";
else
TheArtistOptions.Text = "Ignore";
if (SettingsHandler.GetHandleLoneTAsAlbum())
LoneTorrentAsAlbumCheck.Checked = true;
else
LoneTorrentAsAlbumCheck.Checked = false;
if(SettingsHandler.GetDeleteThe())
TheArtistOptions.Text = "Remove (Artist)";
else
TheArtistOptions.Text = "Ignore";
if (SettingsHandler.GetUppercaseAllFolderNames())
TextCaseOptions.Text = "Uppercase (CASE)";
else if (SettingsHandler.GetLowercaseAllFolderNames())
TextCaseOptions.Text = "Lowercase (case)";
else
TextCaseOptions.Text = "Ignore";
if (SettingsHandler.GetMinimizeToTray())
MinimizeToTrayCheckbox.Checked = true;
else
MinimizeToTrayCheckbox.Checked = false;
if (SettingsHandler.GetDoubleSpaceRemoval())
DoubleSpaceRemoverCheckBox.Checked = true;
else
DoubleSpaceRemoverCheckBox.Checked = false;
if (SettingsHandler.GetAutoHandleBool())
AutoProcessCheckbox.Checked = true;
else
{
AutoProcessCheckbox.Checked = false;
AutoCheckTime.Enabled = false;
}
if (SettingsHandler.GetDownloadFormatExists("Album"))
DownloadAlbumCheck.Checked = true;
else
DownloadAlbumCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Bootleg"))
DownloadBootlegCheck.Checked = true;
else
DownloadBootlegCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Compilation"))
DownloadCompilationCheck.Checked = true;
else
DownloadCompilationCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("EP"))
DownloadEPCheck.Checked = true;
else
DownloadEPCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Interview"))
DownloadInterviewCheck.Checked = true;
else
DownloadInterviewCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Live"))
DownloadLiveCheck.Checked = true;
else
DownloadLiveCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Mixtape"))
DownloadMixtapeCheck.Checked = true;
else
DownloadMixtapeCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Remix"))
DownloadRemixCheck.Checked = true;
else
DownloadRemixCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Single"))
DownloadSingleCheck.Checked = true;
else
DownloadSingleCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Single"))
DownloadSoundtrackCheck.Checked = true;
else
DownloadSoundtrackCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Soundtrack"))
DownloadSoundtrackCheck.Checked = true;
else
DownloadSoundtrackCheck.Checked = false;
if (SettingsHandler.GetDownloadFormatExists("Unknown"))
DownloadUnknownCheck.Checked = true;
else
DownloadUnknownCheck.Checked = false;
if (SettingsHandler.GetTrackTorrents())
TrackTorrentsCheck.Checked = true;
else
TrackTorrentsCheck.Checked = false;
if (SettingsHandler.GetTrackZips())
TrackZipsCheck.Checked = true;
else
TrackZipsCheck.Checked = false;
}