this.pVideo.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.pVideo.Location = new System.Drawing.Point(0, 0);\r
this.pVideo.Name = "pVideo";\r
- this.pVideo.Size = new System.Drawing.Size(478, 349);\r
+ this.pVideo.Size = new System.Drawing.Size(478, 363);\r
this.pVideo.TabIndex = 0;\r
this.pVideo.TabStop = true;\r
this.pVideo.SizeChanged += new System.EventHandler(this.Panel1_SizeChanged);\r
this.mainSplit.BackColor = System.Drawing.Color.Black;\r
this.mainSplit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;\r
this.mainSplit.Dock = System.Windows.Forms.DockStyle.Fill;\r
- this.mainSplit.Location = new System.Drawing.Point(0, 28);\r
+ this.mainSplit.Location = new System.Drawing.Point(0, 24);\r
this.mainSplit.Name = "mainSplit";\r
// \r
// mainSplit.Panel1\r
this.mainSplit.Panel2.Controls.Add(this.tableLayoutPanel1);\r
this.mainSplit.Panel2.Controls.Add(this.pMetadataDisplay);\r
this.mainSplit.Panel2MinSize = 300;\r
- this.mainSplit.Size = new System.Drawing.Size(784, 351);\r
+ this.mainSplit.Size = new System.Drawing.Size(784, 365);\r
this.mainSplit.SplitterDistance = 480;\r
this.mainSplit.TabIndex = 20;\r
// \r
this.panelPlayer.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.panelPlayer.Location = new System.Drawing.Point(0, 0);\r
this.panelPlayer.Name = "panelPlayer";\r
- this.panelPlayer.Size = new System.Drawing.Size(478, 349);\r
+ this.panelPlayer.Size = new System.Drawing.Size(478, 363);\r
this.panelPlayer.TabIndex = 0;\r
// \r
// tableLayoutPanel1\r
this.tableLayoutPanel1.Name = "tableLayoutPanel1";\r
this.tableLayoutPanel1.RowCount = 1;\r
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
- this.tableLayoutPanel1.Size = new System.Drawing.Size(298, 277);\r
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(298, 300);\r
this.tableLayoutPanel1.TabIndex = 4;\r
// \r
// tabEditor\r
this.tabEditor.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.tabEditor.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
this.tabEditor.ImageList = this.imagesTabEdit;\r
- this.tabEditor.Location = new System.Drawing.Point(28, 4);\r
+ this.tabEditor.Location = new System.Drawing.Point(23, 4);\r
this.tabEditor.Margin = new System.Windows.Forms.Padding(0, 4, 4, 4);\r
this.tabEditor.Multiline = true;\r
this.tabEditor.Name = "tabEditor";\r
this.tabEditor.Padding = new System.Drawing.Point(10, 5);\r
this.tabEditor.SelectedIndex = 0;\r
- this.tabEditor.Size = new System.Drawing.Size(266, 269);\r
+ this.tabEditor.Size = new System.Drawing.Size(271, 292);\r
this.tabEditor.TabIndex = 2;\r
// \r
// tpMetadata\r
this.tpMetadata.Location = new System.Drawing.Point(4, 4);\r
this.tpMetadata.Name = "tpMetadata";\r
this.tpMetadata.Padding = new System.Windows.Forms.Padding(3);\r
- this.tpMetadata.Size = new System.Drawing.Size(258, 199);\r
+ this.tpMetadata.Size = new System.Drawing.Size(263, 253);\r
this.tpMetadata.TabIndex = 0;\r
this.tpMetadata.Text = "Metadata";\r
// \r
this.trafficBrowser.Margin = new System.Windows.Forms.Padding(0);\r
this.trafficBrowser.Name = "trafficBrowser";\r
this.trafficBrowser.Parameters = null;\r
- this.trafficBrowser.Size = new System.Drawing.Size(252, 193);\r
+ this.trafficBrowser.Size = new System.Drawing.Size(257, 247);\r
this.trafficBrowser.TabIndex = 0;\r
// \r
// tpSegments\r
this.tpSegments.Location = new System.Drawing.Point(4, 4);\r
this.tpSegments.Name = "tpSegments";\r
this.tpSegments.Padding = new System.Windows.Forms.Padding(3);\r
- this.tpSegments.Size = new System.Drawing.Size(258, 199);\r
+ this.tpSegments.Size = new System.Drawing.Size(214, 192);\r
this.tpSegments.TabIndex = 1;\r
this.tpSegments.Text = "Segments";\r
this.tpSegments.UseVisualStyleBackColor = true;\r
this.dgSegments.DefaultCellStyle = dataGridViewCellStyle1;\r
this.dgSegments.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.dgSegments.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnF2;\r
- this.dgSegments.Location = new System.Drawing.Point(3, 32);\r
+ this.dgSegments.Location = new System.Drawing.Point(3, 28);\r
this.dgSegments.MultiSelect = false;\r
this.dgSegments.Name = "dgSegments";\r
this.dgSegments.RowHeadersVisible = false;\r
this.dgSegments.RowHeadersWidth = 51;\r
this.dgSegments.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;\r
- this.dgSegments.Size = new System.Drawing.Size(252, 164);\r
+ this.dgSegments.Size = new System.Drawing.Size(208, 161);\r
this.dgSegments.TabIndex = 1;\r
this.dgSegments.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.OnSegmentsCellBeginEdit);\r
this.dgSegments.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.OnSegmentsCellContentClick);\r
this.segmentActions.Location = new System.Drawing.Point(3, 3);\r
this.segmentActions.Name = "segmentActions";\r
this.segmentActions.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;\r
- this.segmentActions.Size = new System.Drawing.Size(252, 29);\r
+ this.segmentActions.Size = new System.Drawing.Size(208, 25);\r
this.segmentActions.TabIndex = 0;\r
this.segmentActions.Text = "toolStrip1";\r
// \r
this.tbDefineSegment.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
this.tbDefineSegment.ImageTransparentColor = System.Drawing.Color.Magenta;\r
this.tbDefineSegment.Name = "tbDefineSegment";\r
- this.tbDefineSegment.Size = new System.Drawing.Size(29, 26);\r
+ this.tbDefineSegment.Size = new System.Drawing.Size(23, 22);\r
this.tbDefineSegment.Text = "toolStripButton5";\r
this.tbDefineSegment.Click += new System.EventHandler(this.OnDefineOneSegmentClick);\r
// \r
// toolStripSeparator2\r
// \r
this.toolStripSeparator2.Name = "toolStripSeparator2";\r
- this.toolStripSeparator2.Size = new System.Drawing.Size(6, 29);\r
+ this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);\r
// \r
// tbPositionAsTCIn\r
// \r
this.tbPositionAsTCIn.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
this.tbPositionAsTCIn.ImageTransparentColor = System.Drawing.Color.Magenta;\r
this.tbPositionAsTCIn.Name = "tbPositionAsTCIn";\r
- this.tbPositionAsTCIn.Size = new System.Drawing.Size(29, 26);\r
+ this.tbPositionAsTCIn.Size = new System.Drawing.Size(23, 22);\r
this.tbPositionAsTCIn.Text = "toolStripButton1";\r
this.tbPositionAsTCIn.Click += new System.EventHandler(this.OnActualPositionToTCInToolStripMenuItem1Click);\r
// \r
this.tbSplitSegment.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
this.tbSplitSegment.ImageTransparentColor = System.Drawing.Color.Magenta;\r
this.tbSplitSegment.Name = "tbSplitSegment";\r
- this.tbSplitSegment.Size = new System.Drawing.Size(29, 26);\r
+ this.tbSplitSegment.Size = new System.Drawing.Size(23, 22);\r
this.tbSplitSegment.Text = "toolStripButton4";\r
this.tbSplitSegment.Click += new System.EventHandler(this.OnSplitSegmentAtCurrentPositionClick);\r
// \r
this.tbPositionAsTCOut.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
this.tbPositionAsTCOut.ImageTransparentColor = System.Drawing.Color.Magenta;\r
this.tbPositionAsTCOut.Name = "tbPositionAsTCOut";\r
- this.tbPositionAsTCOut.Size = new System.Drawing.Size(29, 26);\r
+ this.tbPositionAsTCOut.Size = new System.Drawing.Size(23, 22);\r
this.tbPositionAsTCOut.Text = "toolStripButton2";\r
this.tbPositionAsTCOut.Click += new System.EventHandler(this.OnActualPositionToTCOutToolStripMenuItem1Click);\r
// \r
// toolStripSeparator1\r
// \r
this.toolStripSeparator1.Name = "toolStripSeparator1";\r
- this.toolStripSeparator1.Size = new System.Drawing.Size(6, 29);\r
+ this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);\r
// \r
// tbDeleteSegment\r
// \r
this.tbDeleteSegment.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
this.tbDeleteSegment.ImageTransparentColor = System.Drawing.Color.Magenta;\r
this.tbDeleteSegment.Name = "tbDeleteSegment";\r
- this.tbDeleteSegment.Size = new System.Drawing.Size(29, 26);\r
+ this.tbDeleteSegment.Size = new System.Drawing.Size(23, 22);\r
this.tbDeleteSegment.Text = "toolStripButton3";\r
this.tbDeleteSegment.Click += new System.EventHandler(this.OnDeleteSegmentClick);\r
// \r
this.btnToggleSegmentEditor.Location = new System.Drawing.Point(0, 4);\r
this.btnToggleSegmentEditor.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0);\r
this.btnToggleSegmentEditor.Name = "btnToggleSegmentEditor";\r
- this.btnToggleSegmentEditor.Size = new System.Drawing.Size(28, 72);\r
+ this.btnToggleSegmentEditor.Size = new System.Drawing.Size(23, 63);\r
this.btnToggleSegmentEditor.TabIndex = 0;\r
this.btnToggleSegmentEditor.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;\r
this.btnToggleSegmentEditor.UseVisualStyleBackColor = false;\r
this.pMetadataDisplay.Controls.Add(this.labelSelectedMetadata, 0, 0);\r
this.pMetadataDisplay.Controls.Add(this.txtSelectedID, 0, 1);\r
this.pMetadataDisplay.Dock = System.Windows.Forms.DockStyle.Bottom;\r
- this.pMetadataDisplay.Location = new System.Drawing.Point(0, 277);\r
+ this.pMetadataDisplay.Location = new System.Drawing.Point(0, 300);\r
this.pMetadataDisplay.Margin = new System.Windows.Forms.Padding(0);\r
this.pMetadataDisplay.Name = "pMetadataDisplay";\r
this.pMetadataDisplay.RowCount = 2;\r
this.pMetadataDisplay.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
this.pMetadataDisplay.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
- this.pMetadataDisplay.Size = new System.Drawing.Size(298, 72);\r
+ this.pMetadataDisplay.Size = new System.Drawing.Size(298, 63);\r
this.pMetadataDisplay.TabIndex = 5;\r
// \r
// btnApprove\r
this.btnApprove.FlatStyle = System.Windows.Forms.FlatStyle.Flat;\r
this.btnApprove.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
this.btnApprove.Image = ((System.Drawing.Image)(resources.GetObject("btnApprove.Image")));\r
- this.btnApprove.Location = new System.Drawing.Point(187, 32);\r
+ this.btnApprove.Location = new System.Drawing.Point(196, 29);\r
this.btnApprove.Margin = new System.Windows.Forms.Padding(0, 4, 0, 0);\r
this.btnApprove.Name = "btnApprove";\r
- this.btnApprove.Size = new System.Drawing.Size(111, 30);\r
+ this.btnApprove.Size = new System.Drawing.Size(102, 30);\r
this.btnApprove.TabIndex = 17;\r
this.btnApprove.Text = "Approve";\r
this.btnApprove.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;\r
this.labelSelectedMetadata.Location = new System.Drawing.Point(3, 0);\r
this.labelSelectedMetadata.Name = "labelSelectedMetadata";\r
this.labelSelectedMetadata.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5);\r
- this.labelSelectedMetadata.Size = new System.Drawing.Size(181, 28);\r
+ this.labelSelectedMetadata.Size = new System.Drawing.Size(190, 25);\r
this.labelSelectedMetadata.TabIndex = 13;\r
this.labelSelectedMetadata.Text = "Selected metadata";\r
// \r
this.txtSelectedID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;\r
this.txtSelectedID.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.txtSelectedID.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- this.txtSelectedID.Location = new System.Drawing.Point(3, 31);\r
+ this.txtSelectedID.Location = new System.Drawing.Point(3, 28);\r
this.txtSelectedID.Name = "txtSelectedID";\r
- this.txtSelectedID.Size = new System.Drawing.Size(181, 38);\r
+ this.txtSelectedID.Size = new System.Drawing.Size(190, 32);\r
this.txtSelectedID.TabIndex = 12;\r
// \r
// mainMenu\r
this.fileToolStripMenuItem});\r
this.mainMenu.Location = new System.Drawing.Point(0, 0);\r
this.mainMenu.Name = "mainMenu";\r
- this.mainMenu.Size = new System.Drawing.Size(784, 28);\r
+ this.mainMenu.Size = new System.Drawing.Size(784, 24);\r
this.mainMenu.TabIndex = 21;\r
this.mainMenu.Text = "menuStrip1";\r
// \r
this.toolStripSeparator3,\r
this.menuRedefineSegments});\r
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";\r
- this.fileToolStripMenuItem.Size = new System.Drawing.Size(46, 24);\r
+ this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);\r
this.fileToolStripMenuItem.Text = "File";\r
// \r
// menuOpenFile\r
// \r
this.menuOpenFile.Name = "menuOpenFile";\r
this.menuOpenFile.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));\r
- this.menuOpenFile.Size = new System.Drawing.Size(269, 26);\r
+ this.menuOpenFile.Size = new System.Drawing.Size(215, 22);\r
this.menuOpenFile.Text = "Open file";\r
this.menuOpenFile.Click += new System.EventHandler(this.MenuOpenFile_Click);\r
// \r
// \r
this.menuApprove.Name = "menuApprove";\r
this.menuApprove.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));\r
- this.menuApprove.Size = new System.Drawing.Size(269, 26);\r
+ this.menuApprove.Size = new System.Drawing.Size(215, 22);\r
this.menuApprove.Text = "Approve";\r
this.menuApprove.Click += new System.EventHandler(this.OnApprove);\r
// \r
// toolStripSeparator3\r
// \r
this.toolStripSeparator3.Name = "toolStripSeparator3";\r
- this.toolStripSeparator3.Size = new System.Drawing.Size(266, 6);\r
+ this.toolStripSeparator3.Size = new System.Drawing.Size(212, 6);\r
// \r
// menuRedefineSegments\r
// \r
this.menuRedefineSegments.Name = "menuRedefineSegments";\r
this.menuRedefineSegments.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.R)));\r
- this.menuRedefineSegments.Size = new System.Drawing.Size(269, 26);\r
+ this.menuRedefineSegments.Size = new System.Drawing.Size(215, 22);\r
this.menuRedefineSegments.Text = "Redefine segments";\r
this.menuRedefineSegments.Click += new System.EventHandler(this.OnRedefineSegments);\r
// \r
this.flowLayoutPanel1.Controls.Add(this.btnSave);\r
this.flowLayoutPanel1.Controls.Add(this.btnCancel);\r
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;\r
- this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 528);\r
+ this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 532);\r
this.flowLayoutPanel1.Name = "flowLayoutPanel1";\r
this.flowLayoutPanel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;\r
- this.flowLayoutPanel1.Size = new System.Drawing.Size(784, 33);\r
+ this.flowLayoutPanel1.Size = new System.Drawing.Size(784, 29);\r
this.flowLayoutPanel1.TabIndex = 23;\r
// \r
// btnSave\r
// \r
- this.btnSave.Location = new System.Drawing.Point(691, 3);\r
+ this.btnSave.Location = new System.Drawing.Point(706, 3);\r
this.btnSave.Name = "btnSave";\r
- this.btnSave.Size = new System.Drawing.Size(90, 27);\r
+ this.btnSave.Size = new System.Drawing.Size(75, 23);\r
this.btnSave.TabIndex = 0;\r
this.btnSave.Text = "Save";\r
this.btnSave.UseVisualStyleBackColor = true;\r
// \r
// btnCancel\r
// \r
- this.btnCancel.Location = new System.Drawing.Point(595, 3);\r
+ this.btnCancel.Location = new System.Drawing.Point(625, 3);\r
this.btnCancel.Name = "btnCancel";\r
- this.btnCancel.Size = new System.Drawing.Size(90, 27);\r
+ this.btnCancel.Size = new System.Drawing.Size(75, 23);\r
this.btnCancel.TabIndex = 1;\r
this.btnCancel.Text = "Cancel";\r
this.btnCancel.UseVisualStyleBackColor = true;\r
this.playerControls.BackColor = System.Drawing.Color.Transparent;\r
this.playerControls.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;\r
this.playerControls.Dock = System.Windows.Forms.DockStyle.Bottom;\r
- this.playerControls.Location = new System.Drawing.Point(0, 379);\r
+ this.playerControls.Location = new System.Drawing.Point(0, 389);\r
this.playerControls.Margin = new System.Windows.Forms.Padding(0);\r
this.playerControls.Name = "playerControls";\r
- this.playerControls.Size = new System.Drawing.Size(784, 149);\r
+ this.playerControls.Size = new System.Drawing.Size(784, 143);\r
this.playerControls.TabIndex = 22;\r
// \r
// PlayerForm\r
// \r
this.AllowDrop = true;\r
- this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);\r
+ this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);\r
this.BackColor = System.Drawing.Color.White;\r
this.ClientSize = new System.Drawing.Size(784, 561);\r
this.Controls.Add(this.mainSplit);\r
this.Controls.Add(this.flowLayoutPanel1);\r
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));\r
this.KeyPreview = true;\r
- this.MinimumSize = new System.Drawing.Size(768, 554);\r
+ this.MinimumSize = new System.Drawing.Size(640, 480);\r
this.Name = "PlayerForm";\r
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;\r
this.Text = "MediaCube Player";\r
private static final Logger logger = LogManager.getLogger();\r
\r
private Marker marker;\r
- private String octopusAddress = SystemConfiguration.getInstance().value("services.octopus.api.address", null);\r
\r
- private void check(String localRetrievePath, String materialOutputFolder, String promoOutputFolder,\r
- String advertisementOutputFolder, String octopusOutputFolder, String genericOutputFolder, String houseId,\r
- String targetPathType) {\r
+ private String octopusAddress = SystemConfiguration.getInstance().value("services.octopus.api.address", "");\r
+\r
+ private void check(String localRetrievePath, String materialOutputFolder, String promoOutputFolder, String advertisementOutputFolder,\r
+ String octopusOutputFolder, String genericOutputFolder, String houseId, String targetPathType) {\r
if (StringUtils.isBlank(localRetrievePath)) {\r
logger.error(marker, "A folyamat 'localRetrievePath' bemeneti paramétere üres.");\r
- throw new NullPointerException(\r
- "System is not configured properly, 'localRetrievePath' input parameter missing.");\r
+ throw new NullPointerException("System is not configured properly, 'localRetrievePath' input parameter missing.");\r
}\r
if (StringUtils.isBlank(materialOutputFolder)) {\r
logger.error(marker, "A folyamat 'materialOutputFolder' bemeneti paramétere üres.");\r
- throw new NullPointerException(\r
- "System is not configured properly, 'materialOutputFolder' input parameter missing.");\r
+ throw new NullPointerException("System is not configured properly, 'materialOutputFolder' input parameter missing.");\r
}\r
if (StringUtils.isBlank(promoOutputFolder)) {\r
logger.error(marker, "A folyamat 'promoOutputFolder' bemeneti paramétere üres.");\r
- throw new NullPointerException(\r
- "System is not configured properly, 'promoOutputFolder' input parameter missing.");\r
+ throw new NullPointerException("System is not configured properly, 'promoOutputFolder' input parameter missing.");\r
}\r
if (StringUtils.isBlank(advertisementOutputFolder)) {\r
logger.error(marker, "A folyamat 'advertisementOutputFolder' bemeneti paramétere üres.");\r
- throw new NullPointerException(\r
- "System is not configured properly, 'advertisementOutputFolder' input parameter missing.");\r
+ throw new NullPointerException("System is not configured properly, 'advertisementOutputFolder' input parameter missing.");\r
}\r
if (StringUtils.isBlank(octopusOutputFolder)) {\r
logger.error(marker, "A folyamat 'octopusOutputFolder' bemeneti paramétere üres.");\r
- throw new NullPointerException(\r
- "System is not configured properly, 'octopusOutputFolder' input parameter missing.");\r
+ throw new NullPointerException("System is not configured properly, 'octopusOutputFolder' input parameter missing.");\r
}\r
if (StringUtils.isBlank(genericOutputFolder)) {\r
logger.error(marker, "A folyamat 'genericOutputFolder' bemeneti paramétere üres.");\r
- throw new NullPointerException(\r
- "System is not configured properly, 'genericOutputFolder' input parameter missing.");\r
+ throw new NullPointerException("System is not configured properly, 'genericOutputFolder' input parameter missing.");\r
}\r
if (StringUtils.isBlank(houseId)) {\r
logger.error(marker, "A folyamat 'houseId' bemeneti paramétere üres.");\r
}\r
if (StringUtils.isBlank(targetPathType)) {\r
logger.error(marker, "A folyamat 'targetPathType' bemeneti paramétere üres.");\r
- throw new NullPointerException(\r
- "System is not configured properly, 'targetPathType' input parameter missing.");\r
+ throw new NullPointerException("System is not configured properly, 'targetPathType' input parameter missing.");\r
}\r
}\r
\r
@StepEntry\r
- public Object[] execute(String localRetrievePath, String materialOutputFolder, String promoOutputFolder,\r
- String advertisementOutputFolder, String octopusOutputFolder, String genericOutputFolder,\r
- String onlineOutputFolder, String houseId, String targetPathType, ArchivedMedia archivedMedia,\r
- IJobEngine jobEngine, IJobRuntime jobRuntime) throws Exception {\r
+ public Object[] execute(String localRetrievePath, String materialOutputFolder, String promoOutputFolder, String advertisementOutputFolder,\r
+ String octopusOutputFolder, String genericOutputFolder, String onlineOutputFolder, String houseId, String targetPathType,\r
+ ArchivedMedia archivedMedia, IJobEngine jobEngine, IJobRuntime jobRuntime) throws Exception {\r
marker = jobRuntime.getSessionMarker();\r
- check(localRetrievePath, materialOutputFolder, promoOutputFolder, advertisementOutputFolder,\r
- octopusOutputFolder, genericOutputFolder, houseId, targetPathType);\r
+ check(localRetrievePath, materialOutputFolder, promoOutputFolder, advertisementOutputFolder, octopusOutputFolder, genericOutputFolder, houseId,\r
+ targetPathType);\r
Object[] result = null;\r
switch (Integer.parseInt(targetPathType)) {\r
case 0:\r
- String outputFolder = getFolderById(materialOutputFolder, promoOutputFolder, advertisementOutputFolder,\r
- octopusOutputFolder, genericOutputFolder, houseId, archivedMedia);\r
+ String outputFolder = getFolderById(materialOutputFolder, promoOutputFolder, advertisementOutputFolder, octopusOutputFolder, genericOutputFolder,\r
+ houseId, archivedMedia);\r
result = localTargetInit(localRetrievePath, outputFolder, houseId, jobRuntime);\r
break;\r
case 1:\r
return result;\r
}\r
\r
- private String getFolderById(String materialOutputFolder, String promoOutputFolder,\r
- String advertisementOutputFolder, String octopusOutputFolder, String genericOutputFolder, String houseId,\r
- ArchivedMedia archivedMedia) throws Exception {\r
+ private String getFolderById(String materialOutputFolder, String promoOutputFolder, String advertisementOutputFolder, String octopusOutputFolder,\r
+ String genericOutputFolder, String houseId, ArchivedMedia archivedMedia) throws Exception {\r
String id = houseId.toUpperCase();\r
MetadataType mdType = MetadataTypeDetector.GuessMetadataType(id);\r
String result = null;\r
case "OctopusPlaceholder":\r
case "OctopusStory":\r
// 220429 MV-ben nincs Octopus\r
- if (octopusAddress == null)\r
+ if (StringUtils.isBlank(octopusAddress))\r
result = genericOutputFolder;\r
else\r
result = octopusOutputFolder;\r
return result[0];\r
}\r
\r
- private Object[] localTargetInit(String localRetrievePath, String outputFolder, String houseId,\r
- IJobRuntime jobRuntime) throws IOException {\r
+ private Object[] localTargetInit(String localRetrievePath, String outputFolder, String houseId, IJobRuntime jobRuntime) throws IOException {\r
String id = houseId.toUpperCase();\r
String targetPath = getPossiblePath(id, Paths.get(localRetrievePath, outputFolder, id)).toString();\r
String targetNamePattern = houseId + TARGETNAMEPATTERN;\r
try {\r
EscortFiles.ensureUNCFolder(Paths.get(targetPath));\r
} catch (Exception e) {\r
- logger.error(jobRuntime.getSessionMarker(),\r
- "A cél mappa '{}' nem létezik és nem hozható létre. A rendszer hibaüzenete: {}", targetPath,\r
+ logger.error(jobRuntime.getSessionMarker(), "A cél mappa '{}' nem létezik és nem hozható létre. A rendszer hibaüzenete: {}", targetPath,\r
e.getMessage());\r
throw e;\r
}\r