Example #1
0
        private void SaveSettings()
        {
            SettingsWriter sw = new SettingsWriter("FLV Extract", "settings.txt");

            sw.Save("ExtractVideo", chkVideo.Checked ? "1" : "0");
            sw.Save("ExtractTimeCodes", chkTimeCodes.Checked ? "1" : "0");
            sw.Save("ExtractAudio", chkAudio.Checked ? "1" : "0");

            sw.Close();
        }
Example #2
0
        private void SaveSettings()
        {
            SettingsWriter sw = new SettingsWriter("CUE Tools", "settings.txt");

            sw.Save("OutputPathGeneration", ((int)SelectedOutputPathGeneration).ToString());

            sw.Save("OutputSubdirectory", txtCreateSubdirectory.Text);

            sw.Save("OutputFilenameSuffix", txtAppendFilename.Text);

            sw.Save("OutputCustomFormat", txtCustomFormat.Text);

            sw.Save("NoAudioOutput", chkNoAudioOutput.Checked ? "1" : "0");

            sw.Save("OutputAudioFormat", ((int)SelectedOutputAudioFormat).ToString());

            sw.Save("CUEStyle", ((int)SelectedCUEStyle).ToString());

            sw.Save("KeepOriginalFilenames", chkKeepOriginalFilenames.Checked ? "1" : "0");

            sw.Save("SingleFilenameFormat", txtSingleFilenameFormat.Text);

            sw.Save("TrackFilenameFormat", txtTrackFilenameFormat.Text);

            sw.Save("RemoveSpecialCharacters", chkRemoveSpecial.Checked ? "1" : "0");

            sw.Save("SpecialCharactersExceptions", txtSpecialExceptions.Text);

            sw.Save("ReplaceSpaces", chkReplaceSpaces.Checked ? "1" : "0");

            sw.Save("WriteOffset", _writeOffset.ToString());

            sw.Save("PreserveHTOA", _preserveHTOA ? "1" : "0");

            sw.Save("UsePregapForFirstTrackInSingleFile", _usePregapForFirstTrackInSingleFile ? "1" : "0");

            sw.Save("AutoCorrectFilenames", _autoCorrectFilenames ? "1" : "0");

            sw.Save("FLACCompressionLevel", _flacCompressionLevel.ToString());

            sw.Save("FLACVerify", _flacVerify ? "1" : "0");

            sw.Save("WVCompressionMode", _wvCompressionMode.ToString());

            sw.Save("WVExtraMode", _wvExtraMode.ToString());

            sw.Close();
        }
Example #3
0
        /// <summary>
        /// Saves the settings.
        /// </summary>
        private void SaveSettings()
        {
            try
            {
                var sw = new SettingsWriter("FLV Extract", "settings.txt");

                sw.Save("ExtractVideo", chkVideo.Checked ? "1" : "0");
                sw.Save("ExtractTimeCodes", chkTimeCodes.Checked ? "1" : "0");
                sw.Save("ExtractAudio", chkAudio.Checked ? "1" : "0");

                sw.Close();
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
Example #4
0
        /// <summary>
        /// Saves the settings.
        /// </summary>
        private void SaveSettings()
        {
            try
            {
                var sw = new SettingsWriter("FLV Extract", "settings.txt");

                sw.Save("ExtractVideo", chkVideo.Checked ? "1" : "0");
                sw.Save("ExtractTimeCodes", chkTimeCodes.Checked ? "1" : "0");
                sw.Save("ExtractAudio", chkAudio.Checked ? "1" : "0");

                sw.Close();
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }