\r
#region Varibles\r
\r
- // Source\r
- public int DVDTitle { get; set; }\r
- public int DVDChapterStart { get; set; }\r
- public int DVDChapterFinish { get; set; }\r
+ #region Source Title / Chapters\r
+ /// <summary>\r
+ /// Gets or sets Title.\r
+ /// </summary>\r
+ public int Title { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets ChapterStart.\r
+ /// </summary>\r
+ public int ChapterStart { get; set; }\r
\r
- // Output Settings\r
+ /// <summary>\r
+ /// Gets or sets ChapterFinish.\r
+ /// </summary>\r
+ public int ChapterFinish { get; set; }\r
+ #endregion\r
+\r
+ #region Output Settings\r
+ /// <summary>\r
+ /// Gets or sets the file Format. e.g mkv or mp4\r
+ /// </summary>\r
public string Format { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether LargeMP4 support is enabled.\r
+ /// This is the 64bit MP4 file that allows >4GB files\r
+ /// </summary>\r
public bool LargeMP4 { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether IpodAtom is inserted\r
+ /// </summary>\r
public bool IpodAtom { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether OptimizeMP4 is enabed for web streaming\r
+ /// </summary>\r
public bool OptimizeMP4 { get; set; }\r
+ #endregion\r
+\r
+ #region Picture Settings\r
\r
- // Picture Settings\r
+ /// <summary>\r
+ /// Gets or sets Width.\r
+ /// </summary>\r
public int Width { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets Height.\r
+ /// </summary>\r
public int Height { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets MaxWidth.\r
+ /// </summary>\r
public int MaxWidth { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets MaxHeight.\r
+ /// </summary>\r
public int MaxHeight { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets CropValues.\r
+ /// </summary>\r
public string CropValues { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets CropTop.\r
+ /// </summary>\r
public string CropTop { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets CropBottom.\r
+ /// </summary>\r
public string CropBottom { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets CropLeft.\r
+ /// </summary>\r
public string CropLeft { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets CropRight.\r
+ /// </summary>\r
public string CropRight { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets AnamorphicMode.\r
+ /// </summary>\r
public int AnamorphicMode { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether KeepDisplayAsect.\r
+ /// </summary>\r
public bool KeepDisplayAsect { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets DisplayWidthValue.\r
+ /// </summary>\r
public double DisplayWidthValue { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets PixelAspectWidth.\r
+ /// </summary>\r
public int PixelAspectWidth { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets PixelAspectHeight.\r
+ /// </summary>\r
public int PixelAspectHeight { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets AnamorphicModulus.\r
+ /// </summary>\r
public int AnamorphicModulus { get; set; }\r
+ #endregion\r
+\r
+ #region Video Filters\r
\r
- // Video Filters\r
+ /// <summary>\r
+ /// Gets or sets DeTelecine.\r
+ /// </summary>\r
public string DeTelecine { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets DeBlock.\r
+ /// </summary>\r
public int DeBlock { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets DeInterlace.\r
+ /// </summary>\r
public string DeInterlace { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets DeNoise.\r
+ /// </summary>\r
public string DeNoise { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets Decomb.\r
+ /// </summary>\r
public string Decomb { get; set; }\r
+ #endregion\r
\r
- // Video Settings\r
+ #region Video Settings\r
+ /// <summary>\r
+ /// Gets or sets VideoEncoder.\r
+ /// </summary>\r
public string VideoEncoder { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether Grayscale.\r
+ /// </summary>\r
public bool Grayscale { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether TwoPass.\r
+ /// </summary>\r
public bool TwoPass { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether TurboFirstPass.\r
+ /// </summary>\r
public bool TurboFirstPass { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets VideoFramerate.\r
+ /// </summary>\r
public string VideoFramerate { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets AverageVideoBitrate.\r
+ /// </summary>\r
public string AverageVideoBitrate { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets VideoTargetSize.\r
+ /// </summary>\r
public string VideoTargetSize { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets VideoQuality.\r
+ /// </summary>\r
public float VideoQuality { get; set; }\r
+ #endregion\r
\r
- // Audio Settings\r
+ #region Audio Settings\r
+\r
+ /// <summary>\r
+ /// Gets or sets AudioInformation.\r
+ /// </summary>\r
public ArrayList AudioInformation { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets Subtitles.\r
+ /// </summary>\r
public string Subtitles { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether ForcedSubtitles.\r
+ /// </summary>\r
public bool ForcedSubtitles { get; set; }\r
+ #endregion\r
\r
- // Chapter Markers\r
+ #region Other\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether ChapterMarkers.\r
+ /// </summary>\r
public bool ChapterMarkers { get; set; }\r
\r
- // Other\r
+ /// <summary>\r
+ /// Gets or sets H264Query.\r
+ /// </summary>\r
public string H264Query { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether Verbose.\r
+ /// </summary>\r
public bool Verbose { get; set; }\r
+ #endregion\r
\r
- // Preset Information\r
+ #region Preset Information\r
+\r
+ /// <summary>\r
+ /// Gets or sets PresetBuildNumber.\r
+ /// </summary>\r
public int PresetBuildNumber { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets PresetDescription.\r
+ /// </summary>\r
public string PresetDescription { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets PresetName.\r
+ /// </summary>\r
public string PresetName { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets Type.\r
+ /// </summary>\r
public string Type { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether UsesMaxPictureSettings.\r
+ /// </summary>\r
public bool UsesMaxPictureSettings { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether UsesPictureFilters.\r
+ /// </summary>\r
public bool UsesPictureFilters { get; set; }\r
+\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether UsesPictureSettings.\r
+ /// </summary>\r
public bool UsesPictureSettings { get; set; }\r
+ #endregion\r
\r
#endregion\r
\r
#region Source Tab\r
\r
if (title.Success)\r
- thisQuery.DVDTitle = int.Parse(title.ToString().Replace("-t ", string.Empty));\r
+ thisQuery.Title = int.Parse(title.ToString().Replace("-t ", string.Empty));\r
\r
if (chapters.Success)\r
{\r
string[] actTitles = chapters.ToString().Replace("-c ", string.Empty).Split('-');\r
- thisQuery.DVDChapterStart = int.Parse(actTitles[0]);\r
+ thisQuery.ChapterStart = int.Parse(actTitles[0]);\r
if (actTitles.Length > 1)\r
{\r
- thisQuery.DVDChapterFinish = int.Parse(actTitles[1]);\r
+ thisQuery.ChapterFinish = int.Parse(actTitles[1]);\r
}\r
\r
- if ((thisQuery.DVDChapterStart == 1) && (thisQuery.DVDChapterFinish == 0))\r
- thisQuery.DVDChapterFinish = thisQuery.DVDChapterStart;\r
+ if ((thisQuery.ChapterStart == 1) && (thisQuery.ChapterFinish == 0))\r
+ thisQuery.ChapterFinish = thisQuery.ChapterStart;\r
}\r
\r
#endregion\r
}\r
catch (Exception exc)\r
{\r
- MessageBox.Show("An error has occured in the Query Parser.\n\n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
+ frmExceptionWindow exceptionWindow = new frmExceptionWindow();\r
+ exceptionWindow.Setup("An error has occured in the Query Parser.", exc.ToString());\r
+ exceptionWindow.ShowDialog();\r
}\r
\r
#endregion\r