<Reference Include="System.Xml" />\r
</ItemGroup>\r
<ItemGroup>\r
+ <Compile Include="frmEncodeOutput.cs">\r
+ <SubType>Form</SubType>\r
+ </Compile>\r
+ <Compile Include="frmEncodeOutput.Designer.cs">\r
+ <DependentUpon>frmEncodeOutput.cs</DependentUpon>\r
+ </Compile>\r
<Compile Include="frmAbout.cs">\r
<SubType>Form</SubType>\r
</Compile>\r
<Compile Include="Parsing\Title.cs" />\r
<Compile Include="Program.cs" />\r
<Compile Include="Properties\AssemblyInfo.cs" />\r
+ <EmbeddedResource Include="frmEncodeOutput.resx">\r
+ <DependentUpon>frmEncodeOutput.cs</DependentUpon>\r
+ <SubType>Designer</SubType>\r
+ </EmbeddedResource>\r
<EmbeddedResource Include="frmAbout.resx">\r
<SubType>Designer</SubType>\r
<DependentUpon>frmAbout.cs</DependentUpon>\r
\r
namespace Handbrake\r
{\r
- public partial class frmDVDData : Form\r
+ public partial class frmDvdInfo : Form\r
{\r
\r
/*\r
* This window should be used to display the RAW output of the handbrake CLI which is produced during the scan.\r
*/\r
\r
- public frmDVDData()\r
+ public frmDvdInfo()\r
{\r
InitializeComponent();\r
}\r
namespace Handbrake\r
{\r
- partial class frmDVDData\r
+ partial class frmDvdInfo\r
{\r
/// <summary>\r
/// Required designer variable.\r
this.Name = "frmDVDData";\r
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;\r
this.Text = "Read DVD";\r
- this.Load += new System.EventHandler(this.frmDVDData_Load);\r
this.ResumeLayout(false);\r
this.PerformLayout();\r
\r
{\r
\r
/*\r
- * This window should be used to display the RAW output of the handbrake CLI which is produced during the scan.\r
+ * This window will be used to display the raw output of hbcli.exe when it is encoding.\r
+ * \r
*/\r
\r
public frmDVDData()\r
{\r
this.Close();\r
}\r
+\r
+ private void frmDVDData_Load(object sender, EventArgs e)\r
+ {\r
+\r
+ }\r
}\r
}
\ No newline at end of file
// TOOLS MENU --------------------------------------------------------------\r
private void mnu_encode_Click(object sender, EventArgs e)\r
{\r
- Form Queue = new frmQueue();\r
+ string query = ""; // temp fix for bug here.\r
+ Form Queue = new frmQueue(query);\r
Queue.ShowDialog();\r
}\r
\r
private void mnu_viewDVDdata_Click(object sender, EventArgs e)\r
{\r
- Form DVDData = new frmDVDData();\r
+ Form DVDData = new frmDvdInfo();\r
DVDData.Show();\r
}\r
\r
\r
private void btn_queue_Click(object sender, EventArgs e)\r
{\r
- Form Queue = new frmQueue();\r
+ String query = GenerateTheQuery();\r
+ MessageBox.Show(query);\r
+ Form Queue = new frmQueue(query);\r
Queue.Show();\r
}\r
\r
videoEncoder = " -e x264b30";\r
break;\r
default:\r
- Mixdown = " -e x264";\r
+ videoEncoder = " -e x264";\r
break;\r
}\r
\r
audioEncoder = " -E ac3";\r
break;\r
default:\r
- Mixdown = " -E faac";\r
+ audioEncoder = " -E faac";\r
break;\r
}\r
\r
this.Name = "frmQueue";\r
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;\r
this.Text = "Queue";\r
+ this.Load += new System.EventHandler(this.frmQueue_Load);\r
this.ResumeLayout(false);\r
this.PerformLayout();\r
\r
{\r
public partial class frmQueue : Form\r
{\r
- public frmQueue()\r
+ private string query = "";\r
+\r
+ public frmQueue(string query)\r
{\r
InitializeComponent();\r
+ this.query = query;\r
}\r
\r
public void addItem(String item)\r
{\r
list_queue.Items.Add(item);\r
+ MessageBox.Show("test");\r
}\r
\r
private void btn_Close_Click(object sender, EventArgs e)\r
{\r
this.Close();\r
}\r
+\r
+ private void frmQueue_Load(object sender, EventArgs e)\r
+ {\r
+ addItem(query);\r
+ MessageBox.Show("test");\r
+ }\r
+\r
+\r
}\r
}
\ No newline at end of file
this.Name = "frmReadDVD";\r
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;\r
this.Text = "Reading DVD...";\r
- this.Load += new System.EventHandler(this.frmReadDVD_Load);\r
this.ResumeLayout(false);\r
this.PerformLayout();\r
\r
\r
updateUIElements();\r
}\r
-\r
- private void frmReadDVD_Load(object sender, EventArgs e)\r
- {\r
-\r
- }\r
}\r
}
\ No newline at end of file