query += " -t " + titleInfo[0];\r
}\r
\r
- if (Properties.Settings.Default.dvdnav)\r
+ if (!Properties.Settings.Default.noDvdNav)\r
if (mainWindow.drop_angle.Items.Count != 0)\r
query += " --angle " + mainWindow.drop_angle.SelectedItem;\r
\r
\r
query += " -v " + Properties.Settings.Default.verboseLevel;\r
\r
- if (Properties.Settings.Default.dvdnav)\r
- query += " --dvdnav";\r
+ if (Properties.Settings.Default.noDvdNav)\r
+ query += " --no-dvdnav";\r
#endregion\r
\r
return query;\r
\r
output.ReadLine();\r
\r
- if (Properties.Settings.Default.dvdnav)\r
+ if (!Properties.Settings.Default.noDvdNav)\r
{\r
// Get the Angles for the title.\r
m = Regex.Match(output.ReadLine(), @" \+ angle\(s\) ([0-9,])");\r
//------------------------------------------------------------------------------\r
// <auto-generated>\r
// This code was generated by a tool.\r
-// Runtime Version:2.0.50727.3082\r
+// Runtime Version:2.0.50727.4927\r
//\r
// Changes to this file may cause incorrect behavior and will be lost if\r
// the code is regenerated.\r
\r
[global::System.Configuration.UserScopedSettingAttribute()]\r
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
- [global::System.Configuration.DefaultSettingValueAttribute("True")]\r
- public bool dvdnav {\r
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]\r
+ public bool noDvdNav {\r
get {\r
- return ((bool)(this["dvdnav"]));\r
+ return ((bool)(this["noDvdNav"]));\r
}\r
set {\r
- this["dvdnav"] = value;\r
+ this["noDvdNav"] = value;\r
}\r
}\r
\r
<Setting Name="verboseLevel" Type="System.Int32" Scope="User">\r
<Value Profile="(Default)">1</Value>\r
</Setting>\r
- <Setting Name="dvdnav" Type="System.Boolean" Scope="User">\r
- <Value Profile="(Default)">True</Value>\r
+ <Setting Name="noDvdNav" Type="System.Boolean" Scope="User">\r
+ <Value Profile="(Default)">False</Value>\r
</Setting>\r
<Setting Name="presetNotification" Type="System.Boolean" Scope="User">\r
<Value Profile="(Default)">False</Value>\r
<setting name="verboseLevel" serializeAs="String">\r
<value>1</value>\r
</setting>\r
- <setting name="dvdnav" serializeAs="String">\r
- <value>True</value>\r
+ <setting name="noDvdNav" serializeAs="String">\r
+ <value>False</value>\r
</setting>\r
<setting name="presetNotification" serializeAs="String">\r
<value>False</value>\r
\r
// Populate the Angles dropdown\r
drop_angle.Items.Clear();\r
- if (Properties.Settings.Default.dvdnav)\r
+ if (!Properties.Settings.Default.noDvdNav)\r
{\r
drop_angle.Visible = true;\r
lbl_angle.Visible = true;\r
File.Delete(dvdInfoPath);\r
\r
String dvdnav = string.Empty;\r
- if (Properties.Settings.Default.dvdnav)\r
- dvdnav = " --dvdnav";\r
+ if (Properties.Settings.Default.noDvdNav)\r
+ dvdnav = " --no-dvdnav";\r
string strCmdLine = String.Format(@"cmd /c """"{0}"" -i ""{1}"" -t0 {2} -v >""{3}"" 2>&1""", handbrakeCLIPath, sourcePath, dvdnav, dvdInfoPath);\r
\r
ProcessStartInfo hbParseDvd = new ProcessStartInfo("CMD.exe", strCmdLine) { WindowStyle = ProcessWindowStyle.Hidden };\r
this.tableLayoutPanel4.SetColumnSpan(this.check_dvdnav, 4);\r
this.check_dvdnav.Location = new System.Drawing.Point(67, 208);\r
this.check_dvdnav.Name = "check_dvdnav";\r
- this.check_dvdnav.Size = new System.Drawing.Size(250, 17);\r
+ this.check_dvdnav.Size = new System.Drawing.Size(276, 17);\r
this.check_dvdnav.TabIndex = 90;\r
- this.check_dvdnav.Text = "Use libdvdnav (instead of libdvdread) for DVDs";\r
+ this.check_dvdnav.Text = "Disable LibDVDNav. (libdvdread will be used instead)";\r
this.check_dvdnav.UseVisualStyleBackColor = false;\r
this.check_dvdnav.CheckedChanged += new System.EventHandler(this.check_dvdnav_CheckedChanged);\r
// \r
}\r
\r
// Use Experimental dvdnav\r
- if (Properties.Settings.Default.dvdnav)\r
+ if (Properties.Settings.Default.noDvdNav)\r
check_dvdnav.CheckState = CheckState.Checked;\r
\r
// #############################\r
\r
private void check_dvdnav_CheckedChanged(object sender, EventArgs e)\r
{\r
- Properties.Settings.Default.dvdnav = check_dvdnav.Checked;\r
+ Properties.Settings.Default.noDvdNav = check_dvdnav.Checked;\r
}\r
#endregion\r
\r