if (!Directory.Exists(Path.GetDirectoryName(jobDestination)))\r
{\r
if (showError)\r
- MessageBox.Show(string.Format("Destination Path does not exist.\nPath: {0}\n\nThis item was not added to the Queue.", Path.GetDirectoryName(jobDestination)), "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
+ {\r
+ DialogResult result =\r
+ MessageBox.Show(\r
+ string.Format("Destination Path does not exist.\nPath: {0}\n\n Would you like to create it now?", Path.GetDirectoryName(jobDestination)),\r
+ "Warning",\r
+ MessageBoxButtons.YesNo,\r
+ MessageBoxIcon.Question);\r
+\r
+ if (result == DialogResult.Yes)\r
+ {\r
+ // Make sure the path exists, attempt to create it if it doesn't\r
+ string path = Directory.GetParent(jobDestination).ToString();\r
+ if (!Directory.Exists(path))\r
+ {\r
+ Directory.CreateDirectory(path);\r
+ }\r
+ } \r
+ else\r
+ {\r
+ return false;\r
+ }\r
+ }\r
+\r
return false;\r
}\r
+ \r
\r
// Make sure we don't have a duplciate on the queue.\r
if (this.queueProcessor.QueueManager.CheckForDestinationPathDuplicates(jobDestination))\r
this.check_autoNaming.AutoSize = true;\r
this.check_autoNaming.Location = new System.Drawing.Point(111, 13);\r
this.check_autoNaming.Name = "check_autoNaming";\r
- this.check_autoNaming.Size = new System.Drawing.Size(171, 17);\r
+ this.check_autoNaming.Size = new System.Drawing.Size(176, 17);\r
this.check_autoNaming.TabIndex = 72;\r
this.check_autoNaming.Text = "Automatically name output files";\r
this.ToolTip.SetToolTip(this.check_autoNaming, "Automatically name output files");\r
this.radio_preferredAudioAndSubs.AutoSize = true;\r
this.radio_preferredAudioAndSubs.Location = new System.Drawing.Point(200, 99);\r
this.radio_preferredAudioAndSubs.Name = "radio_preferredAudioAndSubs";\r
- this.radio_preferredAudioAndSubs.Size = new System.Drawing.Size(250, 17);\r
+ this.radio_preferredAudioAndSubs.Size = new System.Drawing.Size(254, 17);\r
this.radio_preferredAudioAndSubs.TabIndex = 93;\r
this.radio_preferredAudioAndSubs.TabStop = true;\r
this.radio_preferredAudioAndSubs.Text = "Use Preferred Language for Audio and Subtitles";\r
this.check_AddCCTracks.AutoSize = true;\r
this.check_AddCCTracks.Location = new System.Drawing.Point(200, 131);\r
this.check_AddCCTracks.Name = "check_AddCCTracks";\r
- this.check_AddCCTracks.Size = new System.Drawing.Size(198, 17);\r
+ this.check_AddCCTracks.Size = new System.Drawing.Size(199, 17);\r
this.check_AddCCTracks.TabIndex = 92;\r
this.check_AddCCTracks.Text = "Add Closed Captions when available";\r
this.ToolTip.SetToolTip(this.check_AddCCTracks, "Add any CC tracks if they exist");\r
this.radio_foreignAndSubs.AutoSize = true;\r
this.radio_foreignAndSubs.Location = new System.Drawing.Point(200, 76);\r
this.radio_foreignAndSubs.Name = "radio_foreignAndSubs";\r
- this.radio_foreignAndSubs.Size = new System.Drawing.Size(347, 17);\r
+ this.radio_foreignAndSubs.Size = new System.Drawing.Size(358, 17);\r
this.radio_foreignAndSubs.TabIndex = 90;\r
this.radio_foreignAndSubs.TabStop = true;\r
this.radio_foreignAndSubs.Text = "Use foreign language audio and add first preferred language subtitle.";\r
this.radio_dub.AutoSize = true;\r
this.radio_dub.Location = new System.Drawing.Point(200, 53);\r
this.radio_dub.Name = "radio_dub";\r
- this.radio_dub.Size = new System.Drawing.Size(167, 17);\r
+ this.radio_dub.Size = new System.Drawing.Size(164, 17);\r
this.radio_dub.TabIndex = 89;\r
this.radio_dub.TabStop = true;\r
this.radio_dub.Text = "DUB Foreign Language Audio";\r
this.check_preventSleep.AutoSize = true;\r
this.check_preventSleep.Location = new System.Drawing.Point(73, 45);\r
this.check_preventSleep.Name = "check_preventSleep";\r
- this.check_preventSleep.Size = new System.Drawing.Size(260, 17);\r
+ this.check_preventSleep.Size = new System.Drawing.Size(266, 17);\r
this.check_preventSleep.TabIndex = 91;\r
this.check_preventSleep.Text = "Prevent the system from sleeping when encoding.";\r
this.ToolTip.SetToolTip(this.check_preventSleep, "Prevent system from sleeping during encoding.");\r
this.check_clearOldLogs.AutoSize = true;\r
this.check_clearOldLogs.Location = new System.Drawing.Point(73, 234);\r
this.check_clearOldLogs.Name = "check_clearOldLogs";\r
- this.check_clearOldLogs.Size = new System.Drawing.Size(162, 17);\r
+ this.check_clearOldLogs.Size = new System.Drawing.Size(166, 17);\r
this.check_clearOldLogs.TabIndex = 90;\r
this.check_clearOldLogs.Text = "Clear logs older than 30 days";\r
this.ToolTip.SetToolTip(this.check_clearOldLogs, "Clear logs which are older than 30 days.\r\nThis only applies to HandBrakes Applica" +\r
this.check_logsInSpecifiedLocation.AutoSize = true;\r
this.check_logsInSpecifiedLocation.Location = new System.Drawing.Point(73, 139);\r
this.check_logsInSpecifiedLocation.Name = "check_logsInSpecifiedLocation";\r
- this.check_logsInSpecifiedLocation.Size = new System.Drawing.Size(305, 17);\r
+ this.check_logsInSpecifiedLocation.Size = new System.Drawing.Size(306, 17);\r
this.check_logsInSpecifiedLocation.TabIndex = 87;\r
this.check_logsInSpecifiedLocation.Text = "Put a copy of individual encode logs in a specified location:";\r
this.ToolTip.SetToolTip(this.check_logsInSpecifiedLocation, "Place a copy of the encode log in the same folder as the encoded movie.");\r
<metadata name="ToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
<value>132, 18</value>\r
</metadata>\r
+ <metadata name="ToolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
+ <value>132, 18</value>\r
+ </metadata>\r
<data name="cb_mp4FileMode.ToolTip" xml:space="preserve">\r
<value>The default file extension for MP4 Files.\r
Automatic - This will use M4v when AC3 Audio, SRT Subtitles or Chapters are present, otherwise MP4.\r
</data>\r
<data name="text_an_path.ToolTip" xml:space="preserve">\r
<value>This is the default location where your encoded files will be stored if "Automatically name output files" is enabled.\r
-You can enter {source_path} instead of a path to use the same path as the source file.</value>\r
+\r
+Hover over the "Available Options" text below for a more detailed description of the available advanced options.</value>\r
</data>\r
<data name="label34.ToolTip" xml:space="preserve">\r
<value>{source_path} = Use the same directory as the source is in.\r