- lbl_progressValue.Text = "0 %";\r
- progressBar.Value = 0;\r
- progressBar.Update();\r
-\r
- lbl_source.Text = "-";\r
- lbl_dest.Text = "-";\r
- lbl_vEnc.Text = "-";\r
- lbl_aEnc.Text = "-";\r
- lbl_title.Text = "-";\r
- lbl_chapt.Text = "-";\r
- }\r
- catch (Exception exc)\r
- {\r
- MessageBox.Show(exc.ToString());\r
- }\r
- }\r
-\r
- // Stop's the queue from continuing. \r
- private void btn_stop_Click(object sender, EventArgs e)\r
- {\r
- cancel = true;\r
- btn_stop.Visible = false;\r
- btn_encode.Enabled = true;\r
- MessageBox.Show("No further items on the queue will start. The current encode process will continue until it is finished. \nClick 'Encode Video' when you wish to continue encoding the queue.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
- }\r
+ ListViewItem item = new ListViewItem();\r
+ item.Text = title; // Title\r
+ item.SubItems.Add(chapters); // Chapters\r
+ item.SubItems.Add(queueItem.Source); // Source\r
+ item.SubItems.Add(queueItem.Destination); // Destination\r
+ item.SubItems.Add(parsed.VideoEncoder); // Video\r