git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube...
authorVásáry Dániel <daniel.vasary@userrendszerhaz.hu>
Fri, 17 Nov 2017 23:00:57 +0000 (23:00 +0000)
committerVásáry Dániel <daniel.vasary@userrendszerhaz.hu>
Fri, 17 Nov 2017 23:00:57 +0000 (23:00 +0000)
56 files changed:
client/AudioRecorder/AudioRecorder.csproj
client/DxPlay/Properties/Resources.Designer.cs
client/DxPlay/Properties/Resources.resx
client/IntegrationTests/IntegrationTests.csproj
client/IntegrationTests/MaestroIT.cs
client/Maestro/ArchiveMetadataForm.Designer.cs
client/Maestro/ArchiveMetadataForm.cs
client/Maestro/Configuration/configuration-playout-ingest.json
client/Maestro/Maestro.csproj
client/Maestro/MaestroForm.Designer.cs
client/Maestro/MaestroForm.Metadata.cs
client/Maestro/MaestroForm.Source.cs
client/Maestro/MaestroForm.Target.cs
client/Maestro/MaestroForm.cs
client/Maestro/MaestroForm.resx
client/Maestro/Program.cs
client/Maestro/Properties/AssemblyInfo.cs
client/Maestro/Properties/Resources.Designer.cs
client/Maestro/Properties/Resources.resx
client/Maestro/Resources/Pause.ico [deleted file]
client/Maestro/Resources/Play.ico
client/Maestro/Resources/Stop.ico [deleted file]
client/Maestro/Resources/ic_folder_open_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_list_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_note_add_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_pause_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_play_arrow_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_play_circle_outline_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_playlist_add_check_black_24dp_1x_green1.png [new file with mode: 0644]
client/Maestro/Resources/ic_playlist_add_check_black_24dp_2x.png [new file with mode: 0644]
client/Maestro/Resources/ic_receipt_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_receipt_black_24dp_1x_green.png [new file with mode: 0644]
client/Maestro/Resources/ic_receipt_black_24dp_2x.png [new file with mode: 0644]
client/Maestro/Resources/ic_reorder_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_settings_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_stop_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_subject_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_toc_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/ic_view_headline_black_24dp_1x.png [new file with mode: 0644]
client/Maestro/Resources/installforge-installer-project.ifp
client/Maestro/Sources/FileSystemSource.cs
client/MaestroShared/Targets/UNCTargetProcessor.cs
client/OctopusClient/OctopusIDSelector.Designer.cs
client/OctopusClient/OctopusIDSelector.cs
client/PasswordEncrypter/PasswordEncrypter.csproj
client/PasswordEncrypter/maestro.ico [moved from client/PasswordEncrypter/mediacube_logo_small_yellow.ico with 100% similarity]
client/PlanAIRClient/TrafficIDSelector.Designer.cs
server/-product/log4j2.xml
server/user.jobengine.executors/src/user/jobengine/server/steps/ArchiveListBuilderStep.java
server/user.jobengine.executors/src/user/jobengine/server/steps/MetadataTransformStep.java
server/user.jobengine.executors/src/user/jobengine/server/steps/TSMBackupStep.java
server/user.jobengine.executors/src/user/jobengine/server/steps/TranscodeSELENIOStep.java
server/user.jobengine.osgi.commons/src/user/commons/octopus/OctopusDataMiner.java
server/user.jobengine.osgi.commons/src/user/commons/remotestore/TSMLister.java
server/user.jobengine.osgi.server/src/user/jobengine/server/JobRuntime.java
server/user.jobengine.osgi.server/src/user/jobengine/server/steps/ArchiveItem.java

index a2cda676dfb1c07094e1f7dac9e1f70acc317bc9..21120b51456686971a122954d274e4b8aa4acd59 100644 (file)
@@ -93,8 +93,7 @@
     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>\r
   </PropertyGroup>\r
   <PropertyGroup>\r
-    <ApplicationIcon>\r
-    </ApplicationIcon>\r
+    <ApplicationIcon>maestro.ico</ApplicationIcon>\r
   </PropertyGroup>\r
   <PropertyGroup />\r
   <ItemGroup>\r
index a26553f56297ec7342782e1068a7735934de4bde..6321529e28ee9c4e4f0b2f637ee7b5743046a780 100644 (file)
@@ -60,16 +60,6 @@ namespace DxPlay.Properties {
             }\r
         }\r
         \r
-        /// <summary>\r
-        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
-        /// </summary>\r
-        public static System.Drawing.Bitmap ic_pause_black_24dp_1x {\r
-            get {\r
-                object obj = ResourceManager.GetObject("ic_pause_black_24dp_1x", resourceCulture);\r
-                return ((System.Drawing.Bitmap)(obj));\r
-            }\r
-        }\r
-        \r
         /// <summary>\r
         ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
@@ -80,16 +70,6 @@ namespace DxPlay.Properties {
             }\r
         }\r
         \r
-        /// <summary>\r
-        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
-        /// </summary>\r
-        public static System.Drawing.Bitmap ic_play_arrow_black_24dp_1x {\r
-            get {\r
-                object obj = ResourceManager.GetObject("ic_play_arrow_black_24dp_1x", resourceCulture);\r
-                return ((System.Drawing.Bitmap)(obj));\r
-            }\r
-        }\r
-        \r
         /// <summary>\r
         ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
@@ -100,16 +80,6 @@ namespace DxPlay.Properties {
             }\r
         }\r
         \r
-        /// <summary>\r
-        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
-        /// </summary>\r
-        public static System.Drawing.Bitmap ic_stop_black_24dp_1x {\r
-            get {\r
-                object obj = ResourceManager.GetObject("ic_stop_black_24dp_1x", resourceCulture);\r
-                return ((System.Drawing.Bitmap)(obj));\r
-            }\r
-        }\r
-        \r
         /// <summary>\r
         ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
index 7082277df537c9e871544200d0b32bf20517f157..8ecd0b9f87fda5048151bcbd70a15d63789a5d06 100644 (file)
   <data name="Stop" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
     <value>..\Resources\Stop.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
   </data>\r
-  <data name="ic_pause_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
-    <value>..\Resources\ic_pause_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
-  </data>\r
   <data name="ic_pause_black_24dp_2x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
     <value>..\Resources\ic_pause_black_24dp_2x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
   </data>\r
-  <data name="ic_play_arrow_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
-    <value>..\Resources\ic_play_arrow_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
-  </data>\r
   <data name="ic_play_arrow_black_24dp_2x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
     <value>..\Resources\ic_play_arrow_black_24dp_2x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
   </data>\r
-  <data name="ic_stop_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
-    <value>..\Resources\ic_stop_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
-  </data>\r
   <data name="ic_stop_black_24dp_2x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
     <value>..\Resources\ic_stop_black_24dp_2x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
   </data>\r
index 0b541ad505e0e4915564ce5d573b8f37ba22eebe..46a27fb5b4f122a1e17563118313769df3918b7a 100644 (file)
     </Reference>\r
     <Reference Include="System.Core" />\r
     <Reference Include="System.Data" />\r
+    <Reference Include="System.Drawing" />\r
     <Reference Include="System.Net.NameResolution, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">\r
       <HintPath>..\packages\System.Net.NameResolution.4.3.0\lib\net46\System.Net.NameResolution.dll</HintPath>\r
     </Reference>\r
index 9524133c25bf87457c95c8c85ab4a6ae4a1751b6..f0b67ccf6d57d2541430a073f953be1ee396aac3 100644 (file)
@@ -14,6 +14,7 @@ using MaestroShared.Configuration;
 using MaestroShared.Commons;\r
 using MaestroShared.Targets;\r
 using MaestroShared.Target;\r
+using System.Drawing;\r
 \r
 namespace IntegrationTests {\r
     public sealed class SafeTokenHandle : SafeHandleZeroOrMinusOneIsInvalid {\r
@@ -244,7 +245,7 @@ namespace IntegrationTests {
             string connectionString = "SERVER=" + server + ";" + "DATABASE=" +\r
             database + ";" + "UID=" + uid + ";" + "PASSWORD=" + password + ";Convert Zero Datetime=true;";\r
 \r
-            \r
+\r
             MySqlConnection connection = new MySqlConnection(connectionString);\r
             try {\r
                 connection.Open();\r
@@ -275,5 +276,23 @@ namespace IntegrationTests {
                 sb.Clear();\r
             }\r
         }\r
+\r
+        [TestMethod]\r
+        public void png2ico() {\r
+\r
+            using (FileStream stream = File.OpenWrite(@"C:\temp\test.ico")) {\r
+                Bitmap bitmap = (Bitmap)Image.FromFile(@"c:\_documents\icons\web\ic_play_arrow_black_24dp_1x.png");\r
+\r
+                //ColorMap[] colorMap = new ColorMap[1];\r
+                //colorMap[0] = new ColorMap();\r
+                //colorMap[0].OldColor = Color.Black;\r
+                //colorMap[0].NewColor = Color.Blue;\r
+                //ImageAttributes attr = new ImageAttributes();\r
+                //attr.SetRemapTable(colorMap);\r
+\r
+                Bitmap resized = new Bitmap(bitmap, new Size(16, 16));\r
+                Icon.FromHandle(resized.GetHicon()).Save(stream);\r
+            }\r
+        }\r
     }\r
-    }
\ No newline at end of file
+}
\ No newline at end of file
index 8edd6160c69eafc06a7712f587de3d2228c3a615..cb23d5525b3e461f1964e7834a76338a4f1429ae 100644 (file)
             // label_stuffID\r
             // \r
             this.label_stuffID.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));\r
-            this.label_stuffID.Location = new System.Drawing.Point(8, 5);\r
+            this.label_stuffID.AutoSize = true;\r
+            this.label_stuffID.Location = new System.Drawing.Point(11, 6);\r
+            this.label_stuffID.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);\r
             this.label_stuffID.Name = "label_stuffID";\r
-            this.label_stuffID.Size = new System.Drawing.Size(87, 13);\r
+            this.label_stuffID.Size = new System.Drawing.Size(113, 17);\r
             this.label_stuffID.TabIndex = 0;\r
             this.label_stuffID.Text = "Anyag azonosító";\r
             // \r
             // label_stuffDescription\r
             // \r
             this.label_stuffDescription.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));\r
-            this.label_stuffDescription.Location = new System.Drawing.Point(8, 83);\r
+            this.label_stuffDescription.AutoSize = true;\r
+            this.label_stuffDescription.Location = new System.Drawing.Point(11, 102);\r
+            this.label_stuffDescription.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);\r
             this.label_stuffDescription.Name = "label_stuffDescription";\r
-            this.label_stuffDescription.Size = new System.Drawing.Size(66, 13);\r
+            this.label_stuffDescription.Size = new System.Drawing.Size(86, 17);\r
             this.label_stuffDescription.TabIndex = 2;\r
             this.label_stuffDescription.Text = "Anyag leírás";\r
             // \r
             // label_mediaID\r
             // \r
             this.label_mediaID.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));\r
-            this.label_mediaID.Location = new System.Drawing.Point(8, 205);\r
+            this.label_mediaID.AutoSize = true;\r
+            this.label_mediaID.Location = new System.Drawing.Point(11, 253);\r
+            this.label_mediaID.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);\r
             this.label_mediaID.Name = "label_mediaID";\r
-            this.label_mediaID.Size = new System.Drawing.Size(86, 13);\r
+            this.label_mediaID.Size = new System.Drawing.Size(111, 17);\r
             this.label_mediaID.TabIndex = 3;\r
             this.label_mediaID.Text = "Média azonosító";\r
             // \r
             // label_mediaTitle\r
             // \r
             this.label_mediaTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));\r
-            this.label_mediaTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.label_mediaTitle.Location = new System.Drawing.Point(8, 244);\r
+            this.label_mediaTitle.AutoSize = true;\r
+            this.label_mediaTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            this.label_mediaTitle.Location = new System.Drawing.Point(11, 301);\r
+            this.label_mediaTitle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);\r
             this.label_mediaTitle.Name = "label_mediaTitle";\r
-            this.label_mediaTitle.Size = new System.Drawing.Size(57, 13);\r
+            this.label_mediaTitle.Size = new System.Drawing.Size(80, 17);\r
             this.label_mediaTitle.TabIndex = 4;\r
             this.label_mediaTitle.Text = "Média cím";\r
             // \r
             // \r
             this.label_mediaDescription.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));\r
             this.label_mediaDescription.AutoSize = true;\r
-            this.label_mediaDescription.Location = new System.Drawing.Point(8, 283);\r
+            this.label_mediaDescription.Location = new System.Drawing.Point(11, 349);\r
+            this.label_mediaDescription.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);\r
             this.label_mediaDescription.Name = "label_mediaDescription";\r
-            this.label_mediaDescription.Size = new System.Drawing.Size(65, 13);\r
+            this.label_mediaDescription.Size = new System.Drawing.Size(84, 17);\r
             this.label_mediaDescription.TabIndex = 5;\r
             this.label_mediaDescription.Text = "Média leírás";\r
             // \r
             // textBox_itemID\r
             // \r
             this.textBox_itemID.Dock = System.Windows.Forms.DockStyle.Fill;\r
-            this.textBox_itemID.Location = new System.Drawing.Point(8, 21);\r
+            this.textBox_itemID.Location = new System.Drawing.Point(11, 27);\r
+            this.textBox_itemID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
             this.textBox_itemID.Name = "textBox_itemID";\r
             this.textBox_itemID.ReadOnly = true;\r
-            this.textBox_itemID.Size = new System.Drawing.Size(532, 20);\r
+            this.textBox_itemID.Size = new System.Drawing.Size(660, 23);\r
             this.textBox_itemID.TabIndex = 6;\r
             // \r
             // textBox_itemTitle\r
             // \r
             this.textBox_itemTitle.Dock = System.Windows.Forms.DockStyle.Fill;\r
-            this.textBox_itemTitle.Location = new System.Drawing.Point(8, 60);\r
+            this.textBox_itemTitle.Location = new System.Drawing.Point(11, 75);\r
+            this.textBox_itemTitle.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
             this.textBox_itemTitle.Name = "textBox_itemTitle";\r
-            this.textBox_itemTitle.Size = new System.Drawing.Size(532, 20);\r
+            this.textBox_itemTitle.Size = new System.Drawing.Size(660, 23);\r
             this.textBox_itemTitle.TabIndex = 7;\r
             // \r
             // textBox_itemDescription\r
             // \r
             this.textBox_itemDescription.Dock = System.Windows.Forms.DockStyle.Fill;\r
-            this.textBox_itemDescription.Location = new System.Drawing.Point(8, 99);\r
+            this.textBox_itemDescription.Location = new System.Drawing.Point(11, 123);\r
+            this.textBox_itemDescription.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
             this.textBox_itemDescription.Multiline = true;\r
             this.textBox_itemDescription.Name = "textBox_itemDescription";\r
             this.textBox_itemDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;\r
-            this.textBox_itemDescription.Size = new System.Drawing.Size(532, 103);\r
+            this.textBox_itemDescription.Size = new System.Drawing.Size(660, 126);\r
             this.textBox_itemDescription.TabIndex = 8;\r
             // \r
             // textBox_mediaID\r
             // \r
             this.textBox_mediaID.Dock = System.Windows.Forms.DockStyle.Fill;\r
-            this.textBox_mediaID.Location = new System.Drawing.Point(8, 221);\r
+            this.textBox_mediaID.Location = new System.Drawing.Point(11, 274);\r
+            this.textBox_mediaID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
             this.textBox_mediaID.Name = "textBox_mediaID";\r
             this.textBox_mediaID.ReadOnly = true;\r
-            this.textBox_mediaID.Size = new System.Drawing.Size(532, 20);\r
+            this.textBox_mediaID.Size = new System.Drawing.Size(660, 23);\r
             this.textBox_mediaID.TabIndex = 9;\r
             // \r
             // textBox_mediaTitle\r
             // \r
             this.textBox_mediaTitle.Dock = System.Windows.Forms.DockStyle.Fill;\r
-            this.textBox_mediaTitle.Location = new System.Drawing.Point(8, 260);\r
+            this.textBox_mediaTitle.Location = new System.Drawing.Point(11, 322);\r
+            this.textBox_mediaTitle.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
             this.textBox_mediaTitle.Name = "textBox_mediaTitle";\r
-            this.textBox_mediaTitle.Size = new System.Drawing.Size(532, 20);\r
+            this.textBox_mediaTitle.Size = new System.Drawing.Size(660, 23);\r
             this.textBox_mediaTitle.TabIndex = 10;\r
             // \r
             // textBox_mediaDescription\r
             // \r
             this.textBox_mediaDescription.Dock = System.Windows.Forms.DockStyle.Fill;\r
-            this.textBox_mediaDescription.Location = new System.Drawing.Point(8, 299);\r
+            this.textBox_mediaDescription.Location = new System.Drawing.Point(11, 370);\r
+            this.textBox_mediaDescription.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
             this.textBox_mediaDescription.Multiline = true;\r
             this.textBox_mediaDescription.Name = "textBox_mediaDescription";\r
             this.textBox_mediaDescription.ScrollBars = System.Windows.Forms.ScrollBars.Both;\r
-            this.textBox_mediaDescription.Size = new System.Drawing.Size(532, 216);\r
+            this.textBox_mediaDescription.Size = new System.Drawing.Size(660, 113);\r
             this.textBox_mediaDescription.TabIndex = 11;\r
             // \r
             // label_stuffTitle\r
             // \r
             this.label_stuffTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));\r
-            this.label_stuffTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.label_stuffTitle.Location = new System.Drawing.Point(8, 44);\r
+            this.label_stuffTitle.AutoSize = true;\r
+            this.label_stuffTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            this.label_stuffTitle.Location = new System.Drawing.Point(11, 54);\r
+            this.label_stuffTitle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);\r
             this.label_stuffTitle.Name = "label_stuffTitle";\r
-            this.label_stuffTitle.Size = new System.Drawing.Size(58, 13);\r
+            this.label_stuffTitle.Size = new System.Drawing.Size(82, 17);\r
             this.label_stuffTitle.TabIndex = 1;\r
             this.label_stuffTitle.Text = "Anyag cím";\r
             // \r
             this.groupBox1.Controls.Add(this.btnOk);\r
             this.groupBox1.Controls.Add(this.btnCancel);\r
             this.groupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;\r
-            this.groupBox1.Location = new System.Drawing.Point(0, 523);\r
+            this.groupBox1.Location = new System.Drawing.Point(0, 486);\r
+            this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
             this.groupBox1.Name = "groupBox1";\r
-            this.groupBox1.Size = new System.Drawing.Size(548, 48);\r
+            this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
+            this.groupBox1.Size = new System.Drawing.Size(682, 59);\r
             this.groupBox1.TabIndex = 1;\r
             this.groupBox1.TabStop = false;\r
             // \r
             // btnOk\r
             // \r
             this.btnOk.Anchor = System.Windows.Forms.AnchorStyles.Right;\r
-            this.btnOk.Location = new System.Drawing.Point(467, 16);\r
+            this.btnOk.Location = new System.Drawing.Point(574, 20);\r
+            this.btnOk.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
             this.btnOk.Name = "btnOk";\r
-            this.btnOk.Size = new System.Drawing.Size(75, 23);\r
+            this.btnOk.Size = new System.Drawing.Size(100, 28);\r
             this.btnOk.TabIndex = 1;\r
             this.btnOk.Text = "Rendben";\r
             this.btnOk.UseVisualStyleBackColor = true;\r
             // \r
             this.btnCancel.Anchor = System.Windows.Forms.AnchorStyles.Right;\r
             this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;\r
-            this.btnCancel.Location = new System.Drawing.Point(388, 16);\r
+            this.btnCancel.Location = new System.Drawing.Point(468, 20);\r
+            this.btnCancel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
             this.btnCancel.Name = "btnCancel";\r
-            this.btnCancel.Size = new System.Drawing.Size(75, 23);\r
+            this.btnCancel.Size = new System.Drawing.Size(100, 28);\r
             this.btnCancel.TabIndex = 0;\r
             this.btnCancel.Text = "Mégsem";\r
             this.btnCancel.UseVisualStyleBackColor = true;\r
             this.tableLayoutPanel1.Controls.Add(this.label_stuffTitle, 0, 2);\r
             this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);\r
+            this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
             this.tableLayoutPanel1.Name = "tableLayoutPanel1";\r
-            this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(5);\r
+            this.tableLayoutPanel1.Padding = new System.Windows.Forms.Padding(7, 6, 7, 6);\r
             this.tableLayoutPanel1.RowCount = 12;\r
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
             this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
-            this.tableLayoutPanel1.Size = new System.Drawing.Size(548, 523);\r
+            this.tableLayoutPanel1.Size = new System.Drawing.Size(682, 486);\r
             this.tableLayoutPanel1.TabIndex = 3;\r
             // \r
             // ArchiveMetadataForm\r
             // \r
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\r
+            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);\r
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
             this.CancelButton = this.btnCancel;\r
-            this.ClientSize = new System.Drawing.Size(548, 571);\r
+            this.ClientSize = new System.Drawing.Size(682, 545);\r
             this.Controls.Add(this.tableLayoutPanel1);\r
             this.Controls.Add(this.groupBox1);\r
+            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
             this.Icon = global::Maestro.Properties.Resources.AppIcon;\r
+            this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);\r
             this.Name = "ArchiveMetadataForm";\r
-            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;\r
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;\r
             this.Text = "Archiv adatok";\r
             this.groupBox1.ResumeLayout(false);\r
             this.tableLayoutPanel1.ResumeLayout(false);\r
index ce594fc7b246e86018f0bc29b17a458546e077ed..e93d662248b180dc227f43fb1e1ef66499f73fef 100644 (file)
@@ -1,5 +1,4 @@
 using System.Windows.Forms;\r
-using Maestro.Metadata;\r
 using MaestroShared.Metadata;\r
 \r
 namespace Maestro {\r
@@ -7,7 +6,7 @@ namespace Maestro {
 \r
         private ArchiveMetadata model;\r
 \r
-        public ArchiveMetadataForm(ArchiveMetadata model) : this() {\r
+        public ArchiveMetadataForm(ref ArchiveMetadata model) : this() {\r
             this.model = model;\r
             textBox_itemID.Text = model.itemHouseId;\r
             textBox_itemTitle.Text = model.itemTitle;\r
index ddd13040318565787876b4f4db0d6b43d9a535d9..aa818ef78d9a56e12fce43f666f94ee12d06375c 100644 (file)
@@ -1,6 +1,6 @@
 {\r
   "title": "Lebony betöltő",\r
-  "active": false,\r
+  "active": true,\r
   "startInTray": false,\r
   "enableCustomMetadataId": true,\r
   "player": {\r
index 54c0d7428cc625a435059a4b110c109537ebfbfa..2d6834b4dcabfa7c31883b477d7b850bd2f0e280 100644 (file)
   </ItemGroup>\r
   <ItemGroup>\r
     <None Include="Resources\installforge-installer-project.ifp" />\r
-    <None Include="Resources\Pause.ico" />\r
-    <None Include="Resources\Play.ico" />\r
-    <None Include="Resources\Stop.ico" />\r
     <None Include="Resources\mediacube_logo_small.ico" />\r
     <None Include="maestro.ico" />\r
     <None Include="Resources\ic_clear_black_24dp_1x.png" />\r
     <None Include="Resources\ic_search_black_24dp_1x.png" />\r
     <None Include="Resources\ic_playlist_add_check_black_24dp_1x.png" />\r
     <None Include="Resources\mediacube_logo_v2_half_hard_edge.png" />\r
+    <None Include="Resources\ic_pause_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_list_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_play_arrow_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_stop_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_settings_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_view_headline_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_toc_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_note_add_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_reorder_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_play_circle_outline_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_subject_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_receipt_black_24dp_1x.png" />\r
+    <None Include="Resources\ic_playlist_add_check_black_24dp_2x.png" />\r
+    <None Include="Resources\ic_receipt_black_24dp_2x.png" />\r
+    <None Include="Resources\ic_playlist_add_check_black_24dp_1x_green1.png" />\r
+    <None Include="Resources\ic_receipt_black_24dp_1x_green.png" />\r
+    <None Include="Resources\ic_folder_open_black_24dp_1x.png" />\r
+    <Content Include="Resources\play.ico" />\r
     <Content Include="TODO.txt" />\r
   </ItemGroup>\r
   <ItemGroup>\r
index f447481397a356db06d8e3ede1b7c97b9a108550..60924ec41223436b98ca8971509c242c74dcc081 100644 (file)
@@ -26,34 +26,31 @@ namespace Maestro {
         /// </summary>\r
         private void InitializeComponent() {\r
             this.components = new System.ComponentModel.Container();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();\r
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MaestroForm));\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();\r
             this.groupSource = new System.Windows.Forms.GroupBox();\r
             this.dgSource = new System.Windows.Forms.DataGridView();\r
             this.bindingSource = new System.Windows.Forms.BindingSource(this.components);\r
+            this.treeFolders = new System.Windows.Forms.TreeView();\r
+            this.ilFolders = new System.Windows.Forms.ImageList(this.components);\r
             this.pSourceFilter = new System.Windows.Forms.TableLayoutPanel();\r
             this.txtSourceFilter = new System.Windows.Forms.TextBox();\r
             this.picClearFilter = new System.Windows.Forms.PictureBox();\r
-            this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();\r
+            this.pSourceDisplay = new System.Windows.Forms.TableLayoutPanel();\r
+            this.tsSource = new System.Windows.Forms.ToolStrip();\r
+            this.btnShowFolders = new System.Windows.Forms.ToolStripButton();\r
             this.textSelectedSource = new System.Windows.Forms.TextBox();\r
             this.label1 = new System.Windows.Forms.Label();\r
             this.btnLookupBySource = new System.Windows.Forms.Button();\r
-            this.ctxmActions = new System.Windows.Forms.ContextMenuStrip(this.components);\r
-            this.ctxiDefineSegments = new System.Windows.Forms.ToolStripMenuItem();\r
-            this.ctxiModifyArchiveMetadata = new System.Windows.Forms.ToolStripMenuItem();\r
             this.scOperations = new System.Windows.Forms.SplitContainer();\r
             this.scRightOperations = new System.Windows.Forms.SplitContainer();\r
             this.groupMetadata = new System.Windows.Forms.GroupBox();\r
@@ -62,11 +59,13 @@ namespace Maestro {
             this.octopusIDSelector = new OctopusClient.OctopusIDSelector();\r
             this.tpTraffic = new System.Windows.Forms.TabPage();\r
             this.trafficIDSelector = new TrafficClient.TrafficIDSelector();\r
-            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();\r
+            this.pMetadataDisplay = new System.Windows.Forms.TableLayoutPanel();\r
             this.btnLookupMetadata = new System.Windows.Forms.Button();\r
-            this.mbActions = new Maestro.MenuButton();\r
             this.labelSelectedMetadata = new System.Windows.Forms.Label();\r
             this.textSelectedMetadata = new System.Windows.Forms.TextBox();\r
+            this.tsMetadata = new System.Windows.Forms.ToolStrip();\r
+            this.btnEditMetadata = new System.Windows.Forms.ToolStripButton();\r
+            this.btnDefineSegments = new System.Windows.Forms.ToolStripButton();\r
             this.groupTarget = new System.Windows.Forms.GroupBox();\r
             this.panelActions = new System.Windows.Forms.TableLayoutPanel();\r
             this.pExecute = new System.Windows.Forms.Panel();\r
@@ -97,8 +96,8 @@ namespace Maestro {
             ((System.ComponentModel.ISupportInitialize)(this.bindingSource)).BeginInit();\r
             this.pSourceFilter.SuspendLayout();\r
             ((System.ComponentModel.ISupportInitialize)(this.picClearFilter)).BeginInit();\r
-            this.tableLayoutPanel2.SuspendLayout();\r
-            this.ctxmActions.SuspendLayout();\r
+            this.pSourceDisplay.SuspendLayout();\r
+            this.tsSource.SuspendLayout();\r
             ((System.ComponentModel.ISupportInitialize)(this.scOperations)).BeginInit();\r
             this.scOperations.Panel1.SuspendLayout();\r
             this.scOperations.Panel2.SuspendLayout();\r
@@ -111,7 +110,8 @@ namespace Maestro {
             this.tabMetadata.SuspendLayout();\r
             this.tpOctopus.SuspendLayout();\r
             this.tpTraffic.SuspendLayout();\r
-            this.tableLayoutPanel1.SuspendLayout();\r
+            this.pMetadataDisplay.SuspendLayout();\r
+            this.tsMetadata.SuspendLayout();\r
             this.groupTarget.SuspendLayout();\r
             this.pExecute.SuspendLayout();\r
             ((System.ComponentModel.ISupportInitialize)(this.scMain)).BeginInit();\r
@@ -133,8 +133,9 @@ namespace Maestro {
             // \r
             this.groupSource.BackColor = System.Drawing.Color.Transparent;\r
             this.groupSource.Controls.Add(this.dgSource);\r
+            this.groupSource.Controls.Add(this.treeFolders);\r
             this.groupSource.Controls.Add(this.pSourceFilter);\r
-            this.groupSource.Controls.Add(this.tableLayoutPanel2);\r
+            this.groupSource.Controls.Add(this.pSourceDisplay);\r
             this.groupSource.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.groupSource.Location = new System.Drawing.Point(0, 0);\r
             this.groupSource.Name = "groupSource";\r
@@ -158,35 +159,35 @@ namespace Maestro {
             this.dgSource.BackgroundColor = System.Drawing.Color.White;\r
             this.dgSource.BorderStyle = System.Windows.Forms.BorderStyle.None;\r
             this.dgSource.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.Raised;\r
-            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
-            dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control;\r
-            dataGridViewCellStyle15.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;\r
-            dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
-            dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
-            dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
-            this.dgSource.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle15;\r
+            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;\r
+            dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;\r
+            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
+            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
+            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
+            this.dgSource.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;\r
             this.dgSource.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;\r
             this.dgSource.DataSource = this.bindingSource;\r
-            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
-            dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Window;\r
-            dataGridViewCellStyle16.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.ControlText;\r
-            dataGridViewCellStyle16.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
-            dataGridViewCellStyle16.SelectionForeColor = System.Drawing.Color.Black;\r
-            dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
-            this.dgSource.DefaultCellStyle = dataGridViewCellStyle16;\r
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+            dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;\r
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;\r
+            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
+            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;\r
+            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
+            this.dgSource.DefaultCellStyle = dataGridViewCellStyle2;\r
             this.dgSource.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.dgSource.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;\r
             this.dgSource.EnableHeadersVisualStyles = false;\r
             this.dgSource.Location = new System.Drawing.Point(10, 47);\r
             this.dgSource.Name = "dgSource";\r
             this.dgSource.RowHeadersVisible = false;\r
-            dataGridViewCellStyle17.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.dgSource.RowsDefaultCellStyle = dataGridViewCellStyle17;\r
+            dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            this.dgSource.RowsDefaultCellStyle = dataGridViewCellStyle3;\r
             this.dgSource.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
             this.dgSource.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;\r
-            this.dgSource.Size = new System.Drawing.Size(330, 352);\r
+            this.dgSource.Size = new System.Drawing.Size(330, 159);\r
             this.dgSource.TabIndex = 0;\r
             this.dgSource.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.sourceGridView_CellContentClick);\r
             this.dgSource.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridSource_CellEnter);\r
@@ -196,6 +197,26 @@ namespace Maestro {
             this.dgSource.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.dataGridSource_CellPainting);\r
             this.dgSource.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridSource_KeyDown);\r
             // \r
+            // treeFolders\r
+            // \r
+            this.treeFolders.BorderStyle = System.Windows.Forms.BorderStyle.None;\r
+            this.treeFolders.Dock = System.Windows.Forms.DockStyle.Bottom;\r
+            this.treeFolders.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            this.treeFolders.ImageIndex = 0;\r
+            this.treeFolders.ImageList = this.ilFolders;\r
+            this.treeFolders.Location = new System.Drawing.Point(10, 206);\r
+            this.treeFolders.Name = "treeFolders";\r
+            this.treeFolders.SelectedImageIndex = 0;\r
+            this.treeFolders.Size = new System.Drawing.Size(330, 161);\r
+            this.treeFolders.TabIndex = 18;\r
+            this.treeFolders.Visible = false;\r
+            // \r
+            // ilFolders\r
+            // \r
+            this.ilFolders.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilFolders.ImageStream")));\r
+            this.ilFolders.TransparentColor = System.Drawing.Color.Transparent;\r
+            this.ilFolders.Images.SetKeyName(0, "ic_folder_open_black_24dp_1x.png");\r
+            // \r
             // pSourceFilter\r
             // \r
             this.pSourceFilter.AutoSize = true;\r
@@ -240,23 +261,52 @@ namespace Maestro {
             this.picClearFilter.TabStop = false;\r
             this.picClearFilter.Click += new System.EventHandler(this.picClearFilter_Click);\r
             // \r
-            // tableLayoutPanel2\r
-            // \r
-            this.tableLayoutPanel2.ColumnCount = 2;\r
-            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
-            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
-            this.tableLayoutPanel2.Controls.Add(this.textSelectedSource, 0, 1);\r
-            this.tableLayoutPanel2.Controls.Add(this.label1, 0, 0);\r
-            this.tableLayoutPanel2.Controls.Add(this.btnLookupBySource, 1, 1);\r
-            this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;\r
-            this.tableLayoutPanel2.Location = new System.Drawing.Point(10, 399);\r
-            this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0);\r
-            this.tableLayoutPanel2.Name = "tableLayoutPanel2";\r
-            this.tableLayoutPanel2.RowCount = 2;\r
-            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
-            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
-            this.tableLayoutPanel2.Size = new System.Drawing.Size(330, 62);\r
-            this.tableLayoutPanel2.TabIndex = 12;\r
+            // pSourceDisplay\r
+            // \r
+            this.pSourceDisplay.ColumnCount = 2;\r
+            this.pSourceDisplay.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
+            this.pSourceDisplay.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.pSourceDisplay.Controls.Add(this.tsSource, 0, 0);\r
+            this.pSourceDisplay.Controls.Add(this.textSelectedSource, 0, 2);\r
+            this.pSourceDisplay.Controls.Add(this.label1, 0, 1);\r
+            this.pSourceDisplay.Controls.Add(this.btnLookupBySource, 1, 2);\r
+            this.pSourceDisplay.Dock = System.Windows.Forms.DockStyle.Bottom;\r
+            this.pSourceDisplay.Location = new System.Drawing.Point(10, 367);\r
+            this.pSourceDisplay.Margin = new System.Windows.Forms.Padding(0);\r
+            this.pSourceDisplay.Name = "pSourceDisplay";\r
+            this.pSourceDisplay.RowCount = 3;\r
+            this.pSourceDisplay.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));\r
+            this.pSourceDisplay.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));\r
+            this.pSourceDisplay.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));\r
+            this.pSourceDisplay.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.pSourceDisplay.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));\r
+            this.pSourceDisplay.Size = new System.Drawing.Size(330, 94);\r
+            this.pSourceDisplay.TabIndex = 12;\r
+            // \r
+            // tsSource\r
+            // \r
+            this.pSourceDisplay.SetColumnSpan(this.tsSource, 2);\r
+            this.tsSource.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;\r
+            this.tsSource.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
+            this.btnShowFolders});\r
+            this.tsSource.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;\r
+            this.tsSource.Location = new System.Drawing.Point(0, 0);\r
+            this.tsSource.Name = "tsSource";\r
+            this.tsSource.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;\r
+            this.tsSource.RightToLeft = System.Windows.Forms.RightToLeft.Yes;\r
+            this.tsSource.Size = new System.Drawing.Size(330, 30);\r
+            this.tsSource.TabIndex = 18;\r
+            // \r
+            // btnShowFolders\r
+            // \r
+            this.btnShowFolders.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
+            this.btnShowFolders.Image = global::Maestro.Properties.Resources.ic_folder_open_black_24dp_1x;\r
+            this.btnShowFolders.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
+            this.btnShowFolders.ImageTransparentColor = System.Drawing.Color.GreenYellow;\r
+            this.btnShowFolders.Name = "btnShowFolders";\r
+            this.btnShowFolders.Size = new System.Drawing.Size(28, 28);\r
+            this.btnShowFolders.ToolTipText = "Mappák";\r
+            this.btnShowFolders.Click += new System.EventHandler(this.OnShowFolders);\r
             // \r
             // textSelectedSource\r
             // \r
@@ -264,7 +314,7 @@ namespace Maestro {
             this.textSelectedSource.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;\r
             this.textSelectedSource.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.textSelectedSource.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.textSelectedSource.Location = new System.Drawing.Point(3, 28);\r
+            this.textSelectedSource.Location = new System.Drawing.Point(3, 63);\r
             this.textSelectedSource.Name = "textSelectedSource";\r
             this.textSelectedSource.ReadOnly = true;\r
             this.textSelectedSource.Size = new System.Drawing.Size(288, 26);\r
@@ -273,13 +323,13 @@ namespace Maestro {
             // label1\r
             // \r
             this.label1.AutoSize = true;\r
-            this.tableLayoutPanel2.SetColumnSpan(this.label1, 2);\r
+            this.pSourceDisplay.SetColumnSpan(this.label1, 2);\r
             this.label1.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.label1.Location = new System.Drawing.Point(3, 0);\r
+            this.label1.Location = new System.Drawing.Point(3, 30);\r
             this.label1.Name = "label1";\r
             this.label1.Padding = new System.Windows.Forms.Padding(0, 5, 0, 5);\r
-            this.label1.Size = new System.Drawing.Size(324, 25);\r
+            this.label1.Size = new System.Drawing.Size(324, 30);\r
             this.label1.TabIndex = 13;\r
             this.label1.Text = "Selected source";\r
             // \r
@@ -293,36 +343,13 @@ namespace Maestro {
             this.btnLookupBySource.FlatStyle = System.Windows.Forms.FlatStyle.Flat;\r
             this.btnLookupBySource.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);\r
             this.btnLookupBySource.Image = global::Maestro.Properties.Resources.ic_search_black_24dp_1x;\r
-            this.btnLookupBySource.Location = new System.Drawing.Point(297, 28);\r
+            this.btnLookupBySource.Location = new System.Drawing.Point(297, 63);\r
             this.btnLookupBySource.Name = "btnLookupBySource";\r
             this.btnLookupBySource.Size = new System.Drawing.Size(30, 26);\r
             this.btnLookupBySource.TabIndex = 14;\r
             this.btnLookupBySource.UseVisualStyleBackColor = false;\r
             this.btnLookupBySource.Click += new System.EventHandler(this.OnLookupBySource);\r
             // \r
-            // ctxmActions\r
-            // \r
-            this.ctxmActions.ImageScalingSize = new System.Drawing.Size(19, 19);\r
-            this.ctxmActions.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
-            this.ctxiDefineSegments,\r
-            this.ctxiModifyArchiveMetadata});\r
-            this.ctxmActions.Name = "contextMenuMetadataActions";\r
-            this.ctxmActions.Size = new System.Drawing.Size(207, 48);\r
-            // \r
-            // ctxiDefineSegments\r
-            // \r
-            this.ctxiDefineSegments.Name = "ctxiDefineSegments";\r
-            this.ctxiDefineSegments.Size = new System.Drawing.Size(206, 22);\r
-            this.ctxiDefineSegments.Text = "Define segments";\r
-            this.ctxiDefineSegments.Click += new System.EventHandler(this.OnDefineSegmentsClick);\r
-            // \r
-            // ctxiModifyArchiveMetadata\r
-            // \r
-            this.ctxiModifyArchiveMetadata.Name = "ctxiModifyArchiveMetadata";\r
-            this.ctxiModifyArchiveMetadata.Size = new System.Drawing.Size(206, 22);\r
-            this.ctxiModifyArchiveMetadata.Text = "Modify archive metadata";\r
-            this.ctxiModifyArchiveMetadata.Click += new System.EventHandler(this.OnArchiveMetadataClick);\r
-            // \r
             // scOperations\r
             // \r
             this.scOperations.BackColor = System.Drawing.SystemColors.Control;\r
@@ -364,7 +391,7 @@ namespace Maestro {
             // \r
             this.groupMetadata.BackColor = System.Drawing.Color.Transparent;\r
             this.groupMetadata.Controls.Add(this.tabMetadata);\r
-            this.groupMetadata.Controls.Add(this.tableLayoutPanel1);\r
+            this.groupMetadata.Controls.Add(this.pMetadataDisplay);\r
             this.groupMetadata.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.groupMetadata.Location = new System.Drawing.Point(0, 0);\r
             this.groupMetadata.Name = "groupMetadata";\r
@@ -385,23 +412,23 @@ namespace Maestro {
             this.tabMetadata.Location = new System.Drawing.Point(10, 23);\r
             this.tabMetadata.Name = "tabMetadata";\r
             this.tabMetadata.SelectedIndex = 0;\r
-            this.tabMetadata.Size = new System.Drawing.Size(330, 376);\r
+            this.tabMetadata.Size = new System.Drawing.Size(330, 347);\r
             this.tabMetadata.TabIndex = 1;\r
             // \r
             // tpOctopus\r
             // \r
+            this.tpOctopus.BackColor = System.Drawing.Color.Transparent;\r
             this.tpOctopus.Controls.Add(this.octopusIDSelector);\r
             this.tpOctopus.Location = new System.Drawing.Point(4, 24);\r
             this.tpOctopus.Name = "tpOctopus";\r
             this.tpOctopus.Padding = new System.Windows.Forms.Padding(3);\r
-            this.tpOctopus.Size = new System.Drawing.Size(322, 348);\r
+            this.tpOctopus.Size = new System.Drawing.Size(322, 319);\r
             this.tpOctopus.TabIndex = 0;\r
             this.tpOctopus.Text = "Octopus";\r
-            this.tpOctopus.UseVisualStyleBackColor = true;\r
             // \r
             // octopusIDSelector\r
             // \r
-            this.octopusIDSelector.BackColor = System.Drawing.Color.White;\r
+            this.octopusIDSelector.BackColor = System.Drawing.Color.Transparent;\r
             this.octopusIDSelector.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.octopusIDSelector.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
             this.octopusIDSelector.IDChangedEvent = null;\r
@@ -409,19 +436,19 @@ namespace Maestro {
             this.octopusIDSelector.Margin = new System.Windows.Forms.Padding(0);\r
             this.octopusIDSelector.MinimumSize = new System.Drawing.Size(200, 300);\r
             this.octopusIDSelector.Name = "octopusIDSelector";\r
-            this.octopusIDSelector.Size = new System.Drawing.Size(316, 342);\r
+            this.octopusIDSelector.Size = new System.Drawing.Size(316, 313);\r
             this.octopusIDSelector.TabIndex = 1;\r
             // \r
             // tpTraffic\r
             // \r
+            this.tpTraffic.BackColor = System.Drawing.Color.Transparent;\r
             this.tpTraffic.Controls.Add(this.trafficIDSelector);\r
             this.tpTraffic.Location = new System.Drawing.Point(4, 24);\r
             this.tpTraffic.Name = "tpTraffic";\r
             this.tpTraffic.Padding = new System.Windows.Forms.Padding(3);\r
-            this.tpTraffic.Size = new System.Drawing.Size(322, 348);\r
+            this.tpTraffic.Size = new System.Drawing.Size(322, 319);\r
             this.tpTraffic.TabIndex = 1;\r
             this.tpTraffic.Text = "Traffic";\r
-            this.tpTraffic.UseVisualStyleBackColor = true;\r
             // \r
             // trafficIDSelector\r
             // \r
@@ -430,30 +457,30 @@ namespace Maestro {
             this.trafficIDSelector.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.trafficIDSelector.IDChangedEvent = null;\r
             this.trafficIDSelector.Location = new System.Drawing.Point(3, 3);\r
-            this.trafficIDSelector.Margin = new System.Windows.Forms.Padding(4);\r
+            this.trafficIDSelector.Margin = new System.Windows.Forms.Padding(0);\r
             this.trafficIDSelector.Name = "trafficIDSelector";\r
-            this.trafficIDSelector.Padding = new System.Windows.Forms.Padding(6);\r
-            this.trafficIDSelector.Size = new System.Drawing.Size(316, 342);\r
+            this.trafficIDSelector.Size = new System.Drawing.Size(316, 313);\r
             this.trafficIDSelector.TabIndex = 0;\r
             // \r
-            // tableLayoutPanel1\r
-            // \r
-            this.tableLayoutPanel1.ColumnCount = 2;\r
-            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
-            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
-            this.tableLayoutPanel1.Controls.Add(this.btnLookupMetadata, 0, 1);\r
-            this.tableLayoutPanel1.Controls.Add(this.mbActions, 0, 0);\r
-            this.tableLayoutPanel1.Controls.Add(this.labelSelectedMetadata, 0, 0);\r
-            this.tableLayoutPanel1.Controls.Add(this.textSelectedMetadata, 0, 1);\r
-            this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;\r
-            this.tableLayoutPanel1.Location = new System.Drawing.Point(10, 399);\r
-            this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);\r
-            this.tableLayoutPanel1.Name = "tableLayoutPanel1";\r
-            this.tableLayoutPanel1.RowCount = 2;\r
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
-            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
-            this.tableLayoutPanel1.Size = new System.Drawing.Size(330, 62);\r
-            this.tableLayoutPanel1.TabIndex = 4;\r
+            // pMetadataDisplay\r
+            // \r
+            this.pMetadataDisplay.ColumnCount = 2;\r
+            this.pMetadataDisplay.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
+            this.pMetadataDisplay.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+            this.pMetadataDisplay.Controls.Add(this.btnLookupMetadata, 1, 2);\r
+            this.pMetadataDisplay.Controls.Add(this.labelSelectedMetadata, 0, 1);\r
+            this.pMetadataDisplay.Controls.Add(this.textSelectedMetadata, 0, 2);\r
+            this.pMetadataDisplay.Controls.Add(this.tsMetadata, 0, 0);\r
+            this.pMetadataDisplay.Dock = System.Windows.Forms.DockStyle.Bottom;\r
+            this.pMetadataDisplay.Location = new System.Drawing.Point(10, 370);\r
+            this.pMetadataDisplay.Margin = new System.Windows.Forms.Padding(0);\r
+            this.pMetadataDisplay.Name = "pMetadataDisplay";\r
+            this.pMetadataDisplay.RowCount = 3;\r
+            this.pMetadataDisplay.RowStyles.Add(new System.Windows.Forms.RowStyle());\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(330, 91);\r
+            this.pMetadataDisplay.TabIndex = 4;\r
             // \r
             // btnLookupMetadata\r
             // \r
@@ -465,39 +492,22 @@ namespace Maestro {
             this.btnLookupMetadata.FlatStyle = System.Windows.Forms.FlatStyle.Flat;\r
             this.btnLookupMetadata.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);\r
             this.btnLookupMetadata.Image = global::Maestro.Properties.Resources.ic_search_black_24dp_1x;\r
-            this.btnLookupMetadata.Location = new System.Drawing.Point(297, 29);\r
+            this.btnLookupMetadata.Location = new System.Drawing.Point(297, 59);\r
             this.btnLookupMetadata.Name = "btnLookupMetadata";\r
             this.btnLookupMetadata.Size = new System.Drawing.Size(30, 26);\r
             this.btnLookupMetadata.TabIndex = 16;\r
             this.btnLookupMetadata.UseVisualStyleBackColor = false;\r
             this.btnLookupMetadata.Click += new System.EventHandler(this.OnLookupByMetadata);\r
             // \r
-            // mbActions\r
-            // \r
-            this.mbActions.BackColor = System.Drawing.Color.Transparent;\r
-            this.mbActions.Cursor = System.Windows.Forms.Cursors.Hand;\r
-            this.mbActions.Dock = System.Windows.Forms.DockStyle.Fill;\r
-            this.mbActions.FlatAppearance.BorderSize = 0;\r
-            this.mbActions.FlatStyle = System.Windows.Forms.FlatStyle.Flat;\r
-            this.mbActions.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.mbActions.Image = global::Maestro.Properties.Resources.ic_playlist_add_check_black_24dp_1x;\r
-            this.mbActions.Location = new System.Drawing.Point(297, 0);\r
-            this.mbActions.Margin = new System.Windows.Forms.Padding(3, 0, 3, 0);\r
-            this.mbActions.Menu = this.ctxmActions;\r
-            this.mbActions.Name = "mbActions";\r
-            this.mbActions.Size = new System.Drawing.Size(30, 26);\r
-            this.mbActions.TabIndex = 15;\r
-            this.mbActions.UseVisualStyleBackColor = false;\r
-            // \r
             // labelSelectedMetadata\r
             // \r
             this.labelSelectedMetadata.AutoSize = true;\r
             this.labelSelectedMetadata.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.labelSelectedMetadata.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.labelSelectedMetadata.Location = new System.Drawing.Point(3, 0);\r
+            this.labelSelectedMetadata.Location = new System.Drawing.Point(3, 31);\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(288, 26);\r
+            this.labelSelectedMetadata.Size = new System.Drawing.Size(288, 25);\r
             this.labelSelectedMetadata.TabIndex = 13;\r
             this.labelSelectedMetadata.Text = "Selected metadata";\r
             // \r
@@ -507,12 +517,51 @@ namespace Maestro {
             this.textSelectedMetadata.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;\r
             this.textSelectedMetadata.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.textSelectedMetadata.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.textSelectedMetadata.Location = new System.Drawing.Point(3, 29);\r
+            this.textSelectedMetadata.Location = new System.Drawing.Point(3, 59);\r
             this.textSelectedMetadata.Name = "textSelectedMetadata";\r
             this.textSelectedMetadata.Size = new System.Drawing.Size(288, 26);\r
             this.textSelectedMetadata.TabIndex = 12;\r
             this.textSelectedMetadata.TextChanged += new System.EventHandler(this.OnMetadataIDChanged);\r
             // \r
+            // tsMetadata\r
+            // \r
+            this.pMetadataDisplay.SetColumnSpan(this.tsMetadata, 2);\r
+            this.tsMetadata.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;\r
+            this.tsMetadata.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
+            this.btnEditMetadata,\r
+            this.btnDefineSegments});\r
+            this.tsMetadata.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;\r
+            this.tsMetadata.Location = new System.Drawing.Point(0, 0);\r
+            this.tsMetadata.Name = "tsMetadata";\r
+            this.tsMetadata.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;\r
+            this.tsMetadata.RightToLeft = System.Windows.Forms.RightToLeft.Yes;\r
+            this.tsMetadata.Size = new System.Drawing.Size(330, 31);\r
+            this.tsMetadata.TabIndex = 17;\r
+            // \r
+            // btnEditMetadata\r
+            // \r
+            this.btnEditMetadata.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
+            this.btnEditMetadata.Image = global::Maestro.Properties.Resources.ic_receipt_black_24dp_1x;\r
+            this.btnEditMetadata.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
+            this.btnEditMetadata.ImageTransparentColor = System.Drawing.Color.GreenYellow;\r
+            this.btnEditMetadata.Name = "btnEditMetadata";\r
+            this.btnEditMetadata.Size = new System.Drawing.Size(28, 28);\r
+            this.btnEditMetadata.Text = "toolStripButton2";\r
+            this.btnEditMetadata.ToolTipText = "Metaadat";\r
+            this.btnEditMetadata.Click += new System.EventHandler(this.OnEditMetadata);\r
+            // \r
+            // btnDefineSegments\r
+            // \r
+            this.btnDefineSegments.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;\r
+            this.btnDefineSegments.Image = global::Maestro.Properties.Resources.ic_playlist_add_check_black_24dp_1x;\r
+            this.btnDefineSegments.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;\r
+            this.btnDefineSegments.ImageTransparentColor = System.Drawing.Color.Magenta;\r
+            this.btnDefineSegments.Name = "btnDefineSegments";\r
+            this.btnDefineSegments.Size = new System.Drawing.Size(28, 28);\r
+            this.btnDefineSegments.Text = "toolStripButton3";\r
+            this.btnDefineSegments.ToolTipText = "Szegmensek";\r
+            this.btnDefineSegments.Click += new System.EventHandler(this.OnDefineSegments);\r
+            // \r
             // groupTarget\r
             // \r
             this.groupTarget.BackColor = System.Drawing.Color.Transparent;\r
@@ -610,6 +659,7 @@ namespace Maestro {
             this.tabSystem.Controls.Add(this.tabPage1);\r
             this.tabSystem.Controls.Add(this.tabPage2);\r
             this.tabSystem.Dock = System.Windows.Forms.DockStyle.Fill;\r
+            this.tabSystem.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
             this.tabSystem.Location = new System.Drawing.Point(10, 23);\r
             this.tabSystem.Name = "tabSystem";\r
             this.tabSystem.SelectedIndex = 0;\r
@@ -619,10 +669,10 @@ namespace Maestro {
             // tabPage1\r
             // \r
             this.tabPage1.Controls.Add(this.dgJobs);\r
-            this.tabPage1.Location = new System.Drawing.Point(4, 22);\r
+            this.tabPage1.Location = new System.Drawing.Point(4, 24);\r
             this.tabPage1.Name = "tabPage1";\r
             this.tabPage1.Padding = new System.Windows.Forms.Padding(3);\r
-            this.tabPage1.Size = new System.Drawing.Size(994, 98);\r
+            this.tabPage1.Size = new System.Drawing.Size(994, 96);\r
             this.tabPage1.TabIndex = 0;\r
             this.tabPage1.Text = global::Maestro.StringResources.FOLYAMATOK;\r
             this.tabPage1.UseVisualStyleBackColor = true;\r
@@ -637,14 +687,6 @@ namespace Maestro {
             this.dgJobs.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;\r
             this.dgJobs.BackgroundColor = System.Drawing.Color.White;\r
             this.dgJobs.BorderStyle = System.Windows.Forms.BorderStyle.None;\r
-            dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
-            dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control;\r
-            dataGridViewCellStyle18.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText;\r
-            dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
-            dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
-            dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
-            this.dgJobs.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle18;\r
             this.dgJobs.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;\r
             this.dgJobs.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {\r
             this.columnLabel,\r
@@ -657,35 +699,27 @@ namespace Maestro {
             this.columnOutput,\r
             this.columnKillDate});\r
             this.dgJobs.DataSource = this.bindingSourceJobs;\r
-            dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
-            dataGridViewCellStyle21.BackColor = System.Drawing.SystemColors.Window;\r
-            dataGridViewCellStyle21.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            dataGridViewCellStyle21.ForeColor = System.Drawing.SystemColors.ControlText;\r
-            dataGridViewCellStyle21.NullValue = null;\r
-            dataGridViewCellStyle21.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
-            dataGridViewCellStyle21.SelectionForeColor = System.Drawing.Color.Black;\r
-            dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
-            this.dgJobs.DefaultCellStyle = dataGridViewCellStyle21;\r
+            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+            dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;\r
+            dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;\r
+            dataGridViewCellStyle6.NullValue = null;\r
+            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
+            dataGridViewCellStyle6.SelectionForeColor = System.Drawing.Color.Black;\r
+            dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
+            this.dgJobs.DefaultCellStyle = dataGridViewCellStyle6;\r
             this.dgJobs.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.dgJobs.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;\r
             this.dgJobs.EnableHeadersVisualStyles = false;\r
             this.dgJobs.GridColor = System.Drawing.Color.White;\r
             this.dgJobs.Location = new System.Drawing.Point(3, 3);\r
             this.dgJobs.Name = "dgJobs";\r
-            dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
-            dataGridViewCellStyle22.BackColor = System.Drawing.SystemColors.Control;\r
-            dataGridViewCellStyle22.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            dataGridViewCellStyle22.ForeColor = System.Drawing.SystemColors.WindowText;\r
-            dataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
-            dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
-            dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
-            this.dgJobs.RowHeadersDefaultCellStyle = dataGridViewCellStyle22;\r
             this.dgJobs.RowHeadersVisible = false;\r
-            dataGridViewCellStyle23.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.dgJobs.RowsDefaultCellStyle = dataGridViewCellStyle23;\r
+            dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            this.dgJobs.RowsDefaultCellStyle = dataGridViewCellStyle7;\r
             this.dgJobs.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
             this.dgJobs.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;\r
-            this.dgJobs.Size = new System.Drawing.Size(988, 92);\r
+            this.dgJobs.Size = new System.Drawing.Size(988, 90);\r
             this.dgJobs.TabIndex = 0;\r
             this.dgJobs.CellEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridJobs_CellEnter);\r
             this.dgJobs.MouseClick += new System.Windows.Forms.MouseEventHandler(this.dataGridJobs_MouseClick);\r
@@ -702,8 +736,8 @@ namespace Maestro {
             // \r
             this.columnID.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;\r
             this.columnID.DataPropertyName = "ID";\r
-            dataGridViewCellStyle19.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.columnID.DefaultCellStyle = dataGridViewCellStyle19;\r
+            dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            this.columnID.DefaultCellStyle = dataGridViewCellStyle4;\r
             this.columnID.HeaderText = "ID";\r
             this.columnID.Name = "columnID";\r
             this.columnID.Width = 44;\r
@@ -720,8 +754,8 @@ namespace Maestro {
             // \r
             this.columnStatus.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;\r
             this.columnStatus.DataPropertyName = "Status";\r
-            dataGridViewCellStyle20.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.columnStatus.DefaultCellStyle = dataGridViewCellStyle20;\r
+            dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            this.columnStatus.DefaultCellStyle = dataGridViewCellStyle5;\r
             this.columnStatus.HeaderText = "Status";\r
             this.columnStatus.Name = "columnStatus";\r
             this.columnStatus.Width = 66;\r
@@ -769,10 +803,10 @@ namespace Maestro {
             // tabPage2\r
             // \r
             this.tabPage2.Controls.Add(this.dgMessages);\r
-            this.tabPage2.Location = new System.Drawing.Point(4, 22);\r
+            this.tabPage2.Location = new System.Drawing.Point(4, 24);\r
             this.tabPage2.Name = "tabPage2";\r
             this.tabPage2.Padding = new System.Windows.Forms.Padding(3);\r
-            this.tabPage2.Size = new System.Drawing.Size(994, 98);\r
+            this.tabPage2.Size = new System.Drawing.Size(994, 96);\r
             this.tabPage2.TabIndex = 1;\r
             this.tabPage2.Text = global::Maestro.StringResources.UZENETEK;\r
             this.tabPage2.UseVisualStyleBackColor = true;\r
@@ -785,27 +819,19 @@ namespace Maestro {
             this.dgMessages.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;\r
             this.dgMessages.BackgroundColor = System.Drawing.Color.White;\r
             this.dgMessages.BorderStyle = System.Windows.Forms.BorderStyle.None;\r
-            dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
-            dataGridViewCellStyle24.BackColor = System.Drawing.SystemColors.Control;\r
-            dataGridViewCellStyle24.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            dataGridViewCellStyle24.ForeColor = System.Drawing.SystemColors.WindowText;\r
-            dataGridViewCellStyle24.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
-            dataGridViewCellStyle24.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
-            dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
-            this.dgMessages.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle24;\r
             this.dgMessages.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;\r
             this.dgMessages.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {\r
             this.dataGridViewTextBoxColumn1,\r
             this.dataGridViewTextBoxColumn2});\r
-            dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
-            dataGridViewCellStyle26.BackColor = System.Drawing.SystemColors.Window;\r
-            dataGridViewCellStyle26.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            dataGridViewCellStyle26.ForeColor = System.Drawing.Color.Red;\r
-            dataGridViewCellStyle26.NullValue = null;\r
-            dataGridViewCellStyle26.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
-            dataGridViewCellStyle26.SelectionForeColor = System.Drawing.Color.Red;\r
-            dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
-            this.dgMessages.DefaultCellStyle = dataGridViewCellStyle26;\r
+            dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+            dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Window;\r
+            dataGridViewCellStyle9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Red;\r
+            dataGridViewCellStyle9.NullValue = null;\r
+            dataGridViewCellStyle9.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
+            dataGridViewCellStyle9.SelectionForeColor = System.Drawing.Color.Red;\r
+            dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
+            this.dgMessages.DefaultCellStyle = dataGridViewCellStyle9;\r
             this.dgMessages.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.dgMessages.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;\r
             this.dgMessages.EnableHeadersVisualStyles = false;\r
@@ -813,20 +839,12 @@ namespace Maestro {
             this.dgMessages.Location = new System.Drawing.Point(3, 3);\r
             this.dgMessages.Name = "dgMessages";\r
             this.dgMessages.ReadOnly = true;\r
-            dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
-            dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Control;\r
-            dataGridViewCellStyle27.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            dataGridViewCellStyle27.ForeColor = System.Drawing.SystemColors.WindowText;\r
-            dataGridViewCellStyle27.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
-            dataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
-            dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
-            this.dgMessages.RowHeadersDefaultCellStyle = dataGridViewCellStyle27;\r
             this.dgMessages.RowHeadersVisible = false;\r
-            dataGridViewCellStyle28.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.dgMessages.RowsDefaultCellStyle = dataGridViewCellStyle28;\r
+            dataGridViewCellStyle10.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            this.dgMessages.RowsDefaultCellStyle = dataGridViewCellStyle10;\r
             this.dgMessages.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
             this.dgMessages.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;\r
-            this.dgMessages.Size = new System.Drawing.Size(988, 92);\r
+            this.dgMessages.Size = new System.Drawing.Size(988, 90);\r
             this.dgMessages.TabIndex = 1;\r
             // \r
             // dataGridViewTextBoxColumn1\r
@@ -842,8 +860,8 @@ namespace Maestro {
             // \r
             this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;\r
             this.dataGridViewTextBoxColumn2.DataPropertyName = "Message";\r
-            dataGridViewCellStyle25.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle25;\r
+            dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle8;\r
             this.dataGridViewTextBoxColumn2.HeaderText = "Üzenet";\r
             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";\r
             this.dataGridViewTextBoxColumn2.ReadOnly = true;\r
@@ -877,9 +895,10 @@ namespace Maestro {
             this.pSourceFilter.ResumeLayout(false);\r
             this.pSourceFilter.PerformLayout();\r
             ((System.ComponentModel.ISupportInitialize)(this.picClearFilter)).EndInit();\r
-            this.tableLayoutPanel2.ResumeLayout(false);\r
-            this.tableLayoutPanel2.PerformLayout();\r
-            this.ctxmActions.ResumeLayout(false);\r
+            this.pSourceDisplay.ResumeLayout(false);\r
+            this.pSourceDisplay.PerformLayout();\r
+            this.tsSource.ResumeLayout(false);\r
+            this.tsSource.PerformLayout();\r
             this.scOperations.Panel1.ResumeLayout(false);\r
             this.scOperations.Panel2.ResumeLayout(false);\r
             ((System.ComponentModel.ISupportInitialize)(this.scOperations)).EndInit();\r
@@ -893,8 +912,10 @@ namespace Maestro {
             this.tpOctopus.ResumeLayout(false);\r
             this.tpTraffic.ResumeLayout(false);\r
             this.tpTraffic.PerformLayout();\r
-            this.tableLayoutPanel1.ResumeLayout(false);\r
-            this.tableLayoutPanel1.PerformLayout();\r
+            this.pMetadataDisplay.ResumeLayout(false);\r
+            this.pMetadataDisplay.PerformLayout();\r
+            this.tsMetadata.ResumeLayout(false);\r
+            this.tsMetadata.PerformLayout();\r
             this.groupTarget.ResumeLayout(false);\r
             this.pExecute.ResumeLayout(false);\r
             this.scMain.Panel1.ResumeLayout(false);\r
@@ -938,12 +959,9 @@ namespace Maestro {
         private System.Windows.Forms.TabPage tpTraffic;\r
         private System.Windows.Forms.BindingSource metadataInfoBindingSource;\r
         private System.Windows.Forms.Panel pExecute;\r
-        private System.Windows.Forms.ContextMenuStrip ctxmActions;\r
-        private System.Windows.Forms.ToolStripMenuItem ctxiDefineSegments;\r
-        private System.Windows.Forms.ToolStripMenuItem ctxiModifyArchiveMetadata;\r
-        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;\r
+        private System.Windows.Forms.TableLayoutPanel pSourceDisplay;\r
         private System.Windows.Forms.Label label1;\r
-        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;\r
+        private System.Windows.Forms.TableLayoutPanel pMetadataDisplay;\r
         private TrafficClient.TrafficIDSelector trafficIDSelector;\r
         private System.Windows.Forms.Button btnLookupBySource;\r
         private System.Windows.Forms.TabControl tabSystem;\r
@@ -965,8 +983,14 @@ namespace Maestro {
         private System.Windows.Forms.TableLayoutPanel pSourceFilter;\r
         private System.Windows.Forms.TextBox txtSourceFilter;\r
         private System.Windows.Forms.PictureBox picClearFilter;\r
-        private MenuButton mbActions;\r
         private System.Windows.Forms.Button btnLookupMetadata;\r
+        private System.Windows.Forms.ToolStrip tsMetadata;\r
+        private System.Windows.Forms.ToolStripButton btnEditMetadata;\r
+        private System.Windows.Forms.ToolStripButton btnDefineSegments;\r
+        private System.Windows.Forms.ToolStrip tsSource;\r
+        private System.Windows.Forms.ToolStripButton btnShowFolders;\r
+        private System.Windows.Forms.TreeView treeFolders;\r
+        private System.Windows.Forms.ImageList ilFolders;\r
     }\r
 }\r
 \r
index 48213df3f7b8a19ead0d678fb05bb2b6dce9a116..b1a442a60c3aa188e21e5c377042b134771b5b84 100644 (file)
@@ -93,7 +93,7 @@ namespace Maestro {
             mediaCubeApi = new MediaCubeApi(metadata.Server.Address.ToString(), metadata.Server.UserName, metadata.Server.Password, metadata.Server.Timeout, errorMessageBus);\r
         }\r
 \r
-        private void OnArchiveMetadataClick(object sender, EventArgs e) {\r
+        private void OnEditMetadata(object sender, EventArgs e) {\r
             if (archiveMetadata == null)\r
                 archiveMetadata = GetArchiveMetadata();\r
 \r
@@ -104,10 +104,16 @@ namespace Maestro {
                 return;\r
             }\r
 \r
-            ArchiveMetadataForm form = new ArchiveMetadataForm(archiveMetadata);\r
+            ArchiveMetadataForm form = new ArchiveMetadataForm(ref archiveMetadata);\r
             DialogResult result = form.ShowDialog();\r
-            if (result == DialogResult.OK && String.IsNullOrEmpty(textSelectedMetadata.Text))\r
+\r
+            if (result == DialogResult.OK && String.IsNullOrEmpty(textSelectedMetadata.Text)) {\r
+                ArchiveMetadata saved = archiveMetadata;\r
                 textSelectedMetadata.Text = archiveMetadata.itemHouseId;\r
+                archiveMetadata = saved;\r
+                SelectedMetadata.MetadataText = archiveMetadata.itemTitle;\r
+            }\r
+            UpdateEditArchiveMetadataStatus();\r
         }\r
 \r
         private MetadataType GuessMetadataType(string id) {\r
@@ -142,7 +148,7 @@ namespace Maestro {
             return MetadataType.MediaCube;\r
         }\r
 \r
-        private void OnDefineSegmentsClick(object sender, EventArgs e) {\r
+        private void OnDefineSegments(object sender, EventArgs e) {\r
             if (SelectedSource?.FileInfo == null)\r
                 return;\r
             Cursor = Cursors.WaitCursor;\r
@@ -154,6 +160,21 @@ namespace Maestro {
             Cursor = Cursors.Default;\r
             player.ShowDialog();\r
             CreateSegments(movieSegments);\r
+            UpdateDefineSegmentsStatus();\r
+        }\r
+\r
+        private void UpdateDefineSegmentsStatus() {\r
+            if(segments == null || segments.Count == 0)\r
+                btnDefineSegments.Image = Properties.Resources.ic_playlist_add_check_black_24dp_1x;\r
+            else\r
+                btnDefineSegments.Image = Properties.Resources.ic_playlist_add_check_black_24dp_1x_green;\r
+        }\r
+\r
+        private void UpdateEditArchiveMetadataStatus() {\r
+            if (archiveMetadata == null || !archiveMetadata.IsFilled)\r
+                btnEditMetadata.Image = Properties.Resources.ic_receipt_black_24dp_1x;\r
+            else\r
+                btnEditMetadata.Image = Properties.Resources.ic_receipt_black_24dp_1x_green;\r
         }\r
 \r
         private void CreateSegments(BindingList<MovieSegment> movieSegments) {\r
@@ -419,31 +440,31 @@ namespace Maestro {
                     config = Configuration.GetMetadataProvider<OctopusMetadata>();\r
                     if (config == null)\r
                         return;\r
-                    if (!octopusIDSelector.LookupByPlaceHolder(id))\r
-                        MessageBox.Show("Nincs találat.");\r
+                    octopusIDSelector.LookupByPlaceHolder(id);\r
                     break;\r
                 case MetadataType.OctopusStory:\r
                     config = Configuration.GetMetadataProvider<OctopusMetadata>();\r
                     if (config == null)\r
                         return;\r
-                    if (!octopusIDSelector.LookupByStory(id))\r
-                        MessageBox.Show("Nincs találat.");\r
+                    octopusIDSelector.LookupByStory(id);\r
                     break;\r
             }\r
         }\r
 \r
         private void UpdateEditArchiveMetadataEnabled() {\r
-            ctxiModifyArchiveMetadata.Enabled = SelectedSource != null;\r
+            btnEditMetadata.Enabled = SelectedSource != null;\r
+            UpdateEditArchiveMetadataStatus();\r
         }\r
 \r
         private void UpdateDefineSegmentEnabled() {\r
-            ctxiDefineSegments.Enabled =\r
+            btnDefineSegments.Enabled =\r
                                         Configuration.Player != null &&\r
                                         Configuration.Player.SegmentEditor &&\r
                                         SelectedSource != null &&\r
                                         SelectedSource.FileInfo != null &&\r
                                         SelectedMetadata != null &&\r
                                         validTypes.ToList().Contains(SelectedMetadata.Kind);\r
+            UpdateDefineSegmentsStatus();\r
         }\r
 \r
         private void UpdateLookupByMetadataEnabled() {\r
index 1f0ee28fd7c9dced80d5f961029a2ac261fc66c0..537b70b336277b8776e60c1916276f170271df51 100644 (file)
@@ -5,6 +5,7 @@ using MaestroShared.Configuration;
 using MaestroShared.Metadata;\r
 using System;\r
 using System.Collections.Generic;\r
+using System.Diagnostics;\r
 using System.Drawing;\r
 using System.IO;\r
 using System.Linq;\r
@@ -48,11 +49,13 @@ namespace Maestro {
                 formTooltip.SetToolTip(groupSource, remoteAddress?.ToString());\r
 \r
             if (Configuration?.Source is UNCSource) {\r
+                btnShowFolders.Enabled = true;\r
                 logger.Debug("UNC source initialization");\r
                 source = new FileSystemSource(this, MessageBus, Configuration.Player.Enabled, Configuration.Source.Filter);\r
                 logger.Debug("UNC source created");\r
             }\r
             if (Configuration?.Source is NEXIOSource) {\r
+                btnShowFolders.Enabled = false;\r
                 logger.Debug("NEXIO source  initialization");\r
                 source = new NexioRESTSource(this, MessageBus, Configuration.Source.Filter);\r
                 logger.Debug("NEXIO source created");\r
@@ -63,6 +66,47 @@ namespace Maestro {
             dgSource.Columns.AddRange(source.Columns);\r
         }\r
 \r
+        private string GetLastSegment(string path) {\r
+            Uri uri = new Uri(path);\r
+            return uri.Segments[uri.Segments.Length - 1];\r
+        }\r
+\r
+        private void ShowFolders() {\r
+            dgSource.Visible = false;\r
+            treeFolders.Visible = true;\r
+            treeFolders.Dock = DockStyle.Fill;\r
+            FileSystemSource source = bindingSource.DataSource as FileSystemSource;\r
+            if (source == null) {\r
+                HideFolders();\r
+                btnShowFolders.CheckState = CheckState.Unchecked;\r
+            }\r
+            Uri address = Configuration.Source.Local.Address;\r
+            string[] folders = Directory.GetDirectories(address.LocalPath);\r
+            TreeNode rootNode = treeFolders.Nodes.Add(GetLastSegment(Configuration.Source.Local.Address.ToString()));\r
+            foreach (var folder in folders) {\r
+                TreeNode folderNode = rootNode.Nodes.Add(GetLastSegment(folder));\r
+                folderNode.Nodes.Add("..");\r
+                folderNode.ImageIndex = 0;\r
+                \r
+            }\r
+        }\r
+\r
+        private void HideFolders() {\r
+            dgSource.Visible = true;\r
+            treeFolders.Visible = false;\r
+            treeFolders.Nodes.Clear();\r
+        }\r
+\r
+        private void OnShowFolders(object sender, EventArgs e) {\r
+            if (btnShowFolders.CheckState == CheckState.Checked) {\r
+                HideFolders();\r
+                btnShowFolders.CheckState = CheckState.Unchecked;\r
+            } else {\r
+                ShowFolders();\r
+                btnShowFolders.CheckState = CheckState.Checked;\r
+            }\r
+        }\r
+\r
         private void dataGridSource_CellMouseEnter(object sender, DataGridViewCellEventArgs e) {\r
             if (e.RowIndex > -1 && IsPlayColumn(e.ColumnIndex))\r
                 dgSource.Cursor = Cursors.Hand;\r
@@ -89,7 +133,7 @@ namespace Maestro {
             if (selectedrows == null)\r
                 return;\r
             if (e.ColumnIndex == 0) {\r
-                \r
+\r
                 UpdateCheckStates(selectedrows);\r
                 return;\r
             }\r
@@ -110,7 +154,7 @@ namespace Maestro {
                 catch (Exception ex) {\r
                     MessageBox.Show(ex.Message);\r
                 }\r
-                \r
+\r
                 dgSource.Enabled = true;\r
             }\r
         }\r
@@ -131,10 +175,17 @@ namespace Maestro {
                 else\r
                     item.IsChecked = checkedCount == selectedRows.Count ? false : true;\r
 \r
-                if (item.IsChecked)\r
-                    selectedSourceRows.Add(row);\r
-                else\r
-                    selectedSourceRows.Remove(row);\r
+                if (item.IsChecked) {\r
+                    if (!selectedSourceRows.Contains(row)) {\r
+                        selectedSourceRows.Add(row);\r
+                        Debug.WriteLine("Added " + AsISourceItem(row).Name);\r
+                    }\r
+                } else {\r
+                    if (selectedSourceRows.Contains(row)) {\r
+                        selectedSourceRows.Remove(row);\r
+                        Debug.WriteLine("Removed " + AsISourceItem(row).Name);\r
+                    }\r
+                }\r
             }\r
             SetSelectedSource();\r
         }\r
@@ -143,7 +194,9 @@ namespace Maestro {
             string selectionPrefix = null;\r
             string selectedNames = String.Empty;\r
             foreach (DataGridViewRow actual in selectedSourceRows) {\r
-                string name = (actual.DataBoundItem as ISourceItem).Name;\r
+                string name = (actual.DataBoundItem as ISourceItem)?.Name;\r
+                if (String.IsNullOrEmpty(name))\r
+                    continue;\r
                 selectedNames += name + " ";\r
                 string currentPrefix = GetPrefix(name);\r
                 if (selectionPrefix == null)\r
index af6f54ebd5b4a98fdb9d1d4168db5101d73d05ef..3765ab693cd5ae45409cb5c53e4db8a90d41b7af 100644 (file)
@@ -123,6 +123,7 @@ namespace Maestro {
         private bool EnsureMetadata(Target target) {\r
             if ((target.SaveArchiveMetadata || target.SaveMorpheusMetadata || target.NexioServer) && (archiveMetadata == null || !archiveMetadata.IsFilled)) {\r
                 archiveMetadata = GetArchiveMetadata();\r
+                UpdateEditArchiveMetadataStatus();\r
                 if (archiveMetadata == null) {\r
                     MessageBox.Show(String.Format("A {0} folyamat nem futtatható kísérő adatok nélkül.", target.Label));\r
                     return false;\r
index 8635e3c4e1db783b1099a05fc5c0912aefcbb7a0..3035bb2adc7db89e62b2b6e764f4b6bca0d45fb8 100644 (file)
@@ -30,8 +30,12 @@ namespace Maestro {
         public IMessageBus MessageBus { get; set; }\r
         private IMessageBus errorMessageBus = new MessageBus();\r
         private ToolTip formTooltip = new ToolTip();\r
-\r
         private ConfigurationInfo configuration;\r
+\r
+        private static readonly Color highlightColor = Color.White;\r
+        private static readonly Color defaultColor = SystemColors.Control;\r
+\r
+\r
         public ConfigurationInfo Configuration {\r
             get { return configuration; }\r
             set {\r
@@ -67,8 +71,8 @@ namespace Maestro {
             //columnProgress.HeaderText = StringResources.ALLAPOT;\r
             columnStatus.HeaderText = StringResources.STATUSZ;\r
             columnLabel.HeaderText = StringResources.CIM;\r
-            ctxiDefineSegments.Text = StringResources.SZEGMENS_LETREHOZASA;\r
-            ctxiModifyArchiveMetadata.Text = StringResources.ARCHIV_METAADATOK;\r
+            //ctxiDefineSegments.Text = StringResources.SZEGMENS_LETREHOZASA;\r
+            //ctxiModifyArchiveMetadata.Text = StringResources.ARCHIV_METAADATOK;\r
         }\r
 \r
         private void InitializeComponents() {\r
@@ -82,6 +86,11 @@ namespace Maestro {
             InitializeTarget();\r
             InitializeJobs();\r
             InitializeControlTexts();\r
+\r
+            SetColor(groupMetadata, defaultColor);\r
+            SetColor(groupTarget, defaultColor);\r
+            SetColor(groupActions, defaultColor);\r
+            \r
         }\r
 \r
         private void OnMessage(IMessage message) {\r
@@ -138,8 +147,28 @@ namespace Maestro {
 \r
         private void groupBox_Enter(object sender, EventArgs e) {\r
             Control control = sender as Control;\r
-            control.Font = new Font(control.Font, FontStyle.Regular);\r
-            control.BackColor = Color.White;\r
+            control.Font = new Font(control.Font, FontStyle.Bold);\r
+            SetColor(control, highlightColor);\r
+        }\r
+\r
+        private void SetColor(Control control, Color color) {\r
+            if (textSelectedSource.Equals(control) || textSelectedMetadata.Equals(control) || btnExecute.Equals(control))\r
+                return;\r
+            if (control is DataGridView) {\r
+                DataGridView dataGridView = control as DataGridView;\r
+                dataGridView.BackgroundColor = color;\r
+                dataGridView.DefaultCellStyle.BackColor = color;\r
+            } else\r
+            if (control is DateTimePicker) {\r
+                DateTimePicker dateTimePicker = control as DateTimePicker;\r
+                dateTimePicker.CalendarMonthBackground = color;\r
+            } else\r
+                control.BackColor = color;\r
+            if (control.HasChildren) {\r
+                foreach (Control child in control.Controls) {\r
+                    SetColor(child, color);\r
+                }\r
+            }\r
         }\r
 \r
         private void groupBox_Leave(object sender, EventArgs e) {\r
@@ -149,7 +178,7 @@ namespace Maestro {
             else\r
                 control = sender as Control;\r
             control.Font = new Font(control.Font, FontStyle.Regular);\r
-            control.BackColor = Color.Transparent;\r
+            SetColor(control, defaultColor);\r
         }\r
 \r
         private void MaestroForm_FormClosed(object sender, FormClosedEventArgs e) {\r
index f5b516448c7ef80f7d6454d606f5931059fe8d62..71d129372be654bc39fdce70c338e64b9b2b607a 100644 (file)
   <metadata name="bindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
     <value>17, 17</value>\r
   </metadata>\r
+  <metadata name="ilFolders.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
+    <value>1049, 17</value>\r
+  </metadata>\r
+  <data name="ilFolders.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">\r
+    <value>\r
+        AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w\r
+        LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0\r
+        ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACc\r
+        BwAAAk1TRnQBSQFMAwEBAAEQAQABEAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA\r
+        AUADAAEQAwABAQEAAQgGAAEEGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA\r
+        AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA\r
+        AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm\r
+        AwABmQMAAcwCAAEzAwACMwIAATMBZgIAATMBmQIAATMBzAIAATMB/wIAAWYDAAFmATMCAAJmAgABZgGZ\r
+        AgABZgHMAgABZgH/AgABmQMAAZkBMwIAAZkBZgIAApkCAAGZAcwCAAGZAf8CAAHMAwABzAEzAgABzAFm\r
+        AgABzAGZAgACzAIAAcwB/wIAAf8BZgIAAf8BmQIAAf8BzAEAATMB/wIAAf8BAAEzAQABMwEAAWYBAAEz\r
+        AQABmQEAATMBAAHMAQABMwEAAf8BAAH/ATMCAAMzAQACMwFmAQACMwGZAQACMwHMAQACMwH/AQABMwFm\r
+        AgABMwFmATMBAAEzAmYBAAEzAWYBmQEAATMBZgHMAQABMwFmAf8BAAEzAZkCAAEzAZkBMwEAATMBmQFm\r
+        AQABMwKZAQABMwGZAcwBAAEzAZkB/wEAATMBzAIAATMBzAEzAQABMwHMAWYBAAEzAcwBmQEAATMCzAEA\r
+        ATMBzAH/AQABMwH/ATMBAAEzAf8BZgEAATMB/wGZAQABMwH/AcwBAAEzAv8BAAFmAwABZgEAATMBAAFm\r
+        AQABZgEAAWYBAAGZAQABZgEAAcwBAAFmAQAB/wEAAWYBMwIAAWYCMwEAAWYBMwFmAQABZgEzAZkBAAFm\r
+        ATMBzAEAAWYBMwH/AQACZgIAAmYBMwEAA2YBAAJmAZkBAAJmAcwBAAFmAZkCAAFmAZkBMwEAAWYBmQFm\r
+        AQABZgKZAQABZgGZAcwBAAFmAZkB/wEAAWYBzAIAAWYBzAEzAQABZgHMAZkBAAFmAswBAAFmAcwB/wEA\r
+        AWYB/wIAAWYB/wEzAQABZgH/AZkBAAFmAf8BzAEAAcwBAAH/AQAB/wEAAcwBAAKZAgABmQEzAZkBAAGZ\r
+        AQABmQEAAZkBAAHMAQABmQMAAZkCMwEAAZkBAAFmAQABmQEzAcwBAAGZAQAB/wEAAZkBZgIAAZkBZgEz\r
+        AQABmQEzAWYBAAGZAWYBmQEAAZkBZgHMAQABmQEzAf8BAAKZATMBAAKZAWYBAAOZAQACmQHMAQACmQH/\r
+        AQABmQHMAgABmQHMATMBAAFmAcwBZgEAAZkBzAGZAQABmQLMAQABmQHMAf8BAAGZAf8CAAGZAf8BMwEA\r
+        AZkBzAFmAQABmQH/AZkBAAGZAf8BzAEAAZkC/wEAAcwDAAGZAQABMwEAAcwBAAFmAQABzAEAAZkBAAHM\r
+        AQABzAEAAZkBMwIAAcwCMwEAAcwBMwFmAQABzAEzAZkBAAHMATMBzAEAAcwBMwH/AQABzAFmAgABzAFm\r
+        ATMBAAGZAmYBAAHMAWYBmQEAAcwBZgHMAQABmQFmAf8BAAHMAZkCAAHMAZkBMwEAAcwBmQFmAQABzAKZ\r
+        AQABzAGZAcwBAAHMAZkB/wEAAswCAALMATMBAALMAWYBAALMAZkBAAPMAQACzAH/AQABzAH/AgABzAH/\r
+        ATMBAAGZAf8BZgEAAcwB/wGZAQABzAH/AcwBAAHMAv8BAAHMAQABMwEAAf8BAAFmAQAB/wEAAZkBAAHM\r
+        ATMCAAH/AjMBAAH/ATMBZgEAAf8BMwGZAQAB/wEzAcwBAAH/ATMB/wEAAf8BZgIAAf8BZgEzAQABzAJm\r
+        AQAB/wFmAZkBAAH/AWYBzAEAAcwBZgH/AQAB/wGZAgAB/wGZATMBAAH/AZkBZgEAAf8CmQEAAf8BmQHM\r
+        AQAB/wGZAf8BAAH/AcwCAAH/AcwBMwEAAf8BzAFmAQAB/wHMAZkBAAH/AswBAAH/AcwB/wEAAv8BMwEA\r
+        AcwB/wFmAQAC/wGZAQAC/wHMAQACZgH/AQABZgH/AWYBAAFmAv8BAAH/AmYBAAH/AWYB/wEAAv8BZgEA\r
+        ASEBAAGlAQADXwEAA3cBAAOGAQADlgEAA8sBAAOyAQAD1wEAA90BAAPjAQAD6gEAA/EBAAP4AQAB8AH7\r
+        Af8BAAGkAqABAAOAAwAB/wIAAf8DAAL/AQAB/wMAAf8BAAH/AQAC/wIAA/+CAAH/AQcK7wEHAfQyAAEH\r
+        DAABETIAAe8LAAHvMwAB7wsAAe8zAAHvCwAB7zMAAe8LAAHvMwAB7wsAAe8zAAHvCwAB7zMAAe8BAArv\r
+        AW0BDjIAAe8LAAEOAfEyAAHxAQ4EAAHv+AABQgFNAT4HAAE+AwABKAMAAUADAAEQAwABAQEAAQEFAAGA\r
+        FwAD/wEAAv8GAAL/BgABgAEBBgABgAEBBgABnwH5BgABnwH5BgABnwH5BgABnwH5BgABnwH5BgABnwH5\r
+        BgABgAEBBgABgAEBBgABgAH/BgAC/wYAAv8GAAL/BgAL\r
+</value>\r
+  </data>\r
   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />\r
   <data name="picClearFilter.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
     <value>\r
         3/jmkprcKEuYE8aOir3NRGolzAnzVFoPuyGPLs5GSj/4XULq1sxx1wAAAABJRU5ErkJggg==\r
 </value>\r
   </data>\r
-  <metadata name="ctxmActions.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
-    <value>512, 17</value>\r
+  <metadata name="tsSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
+    <value>951, 17</value>\r
+  </metadata>\r
+  <metadata name="tsMetadata.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
+    <value>846, 17</value>\r
   </metadata>\r
   <metadata name="columnLabel.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">\r
     <value>True</value>\r
index a4c70ac8127978db354b6757fc6759710c302752..c82e22816b5e7bbaab644e6e8ac37f840244cf99 100644 (file)
@@ -89,8 +89,6 @@ namespace Maestro {
         public static string UserName { get; set; }\r
 \r
         public TrayApplicationContext() {\r
-            string str = Regex.Replace("Aéá.ú-óüöA", "[^0-9A-Za-z-._]", "_");\r
-            Debug.WriteLine(str);\r
         }\r
 \r
         private bool HasCommandlineParameter(string parameter) {\r
index 71f7984edc6812d512b7d8325fac07481a0c52dd..99c27c598043b86bf250b0c1db97b0ab8fcefebb 100644 (file)
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
 // You can specify all the values or you can default the Build and Revision Numbers\r
 // by using the '*' as shown below:\r
 // [assembly: AssemblyVersion("1.0.*")]\r
-[assembly: AssemblyVersion("2.0.1")]\r
-[assembly: AssemblyFileVersion("2.0.1")]\r
+[assembly: AssemblyVersion("2.0.2.1")]\r
+[assembly: AssemblyFileVersion("2.0.2.1")]\r
index 18be0c5e090b35d61065925844a19cfc7d45e76a..027760f06f2e478b3aabf17fae3e7faa96b1c022 100644 (file)
@@ -80,6 +80,36 @@ namespace Maestro.Properties {
             }\r
         }\r
         \r
+        /// <summary>\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
+        /// </summary>\r
+        internal static System.Drawing.Bitmap ic_folder_open_black_24dp_1x {\r
+            get {\r
+                object obj = ResourceManager.GetObject("ic_folder_open_black_24dp_1x", resourceCulture);\r
+                return ((System.Drawing.Bitmap)(obj));\r
+            }\r
+        }\r
+        \r
+        /// <summary>\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
+        /// </summary>\r
+        internal static System.Drawing.Bitmap ic_list_black_24dp_1x {\r
+            get {\r
+                object obj = ResourceManager.GetObject("ic_list_black_24dp_1x", resourceCulture);\r
+                return ((System.Drawing.Bitmap)(obj));\r
+            }\r
+        }\r
+        \r
+        /// <summary>\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
+        /// </summary>\r
+        internal static System.Drawing.Bitmap ic_note_add_black_24dp_1x {\r
+            get {\r
+                object obj = ResourceManager.GetObject("ic_note_add_black_24dp_1x", resourceCulture);\r
+                return ((System.Drawing.Bitmap)(obj));\r
+            }\r
+        }\r
+        \r
         /// <summary>\r
         ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
@@ -90,6 +120,46 @@ namespace Maestro.Properties {
             }\r
         }\r
         \r
+        /// <summary>\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
+        /// </summary>\r
+        internal static System.Drawing.Bitmap ic_playlist_add_check_black_24dp_1x_green {\r
+            get {\r
+                object obj = ResourceManager.GetObject("ic_playlist_add_check_black_24dp_1x_green", resourceCulture);\r
+                return ((System.Drawing.Bitmap)(obj));\r
+            }\r
+        }\r
+        \r
+        /// <summary>\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
+        /// </summary>\r
+        internal static System.Drawing.Bitmap ic_receipt_black_24dp_1x {\r
+            get {\r
+                object obj = ResourceManager.GetObject("ic_receipt_black_24dp_1x", resourceCulture);\r
+                return ((System.Drawing.Bitmap)(obj));\r
+            }\r
+        }\r
+        \r
+        /// <summary>\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
+        /// </summary>\r
+        internal static System.Drawing.Bitmap ic_receipt_black_24dp_1x_green {\r
+            get {\r
+                object obj = ResourceManager.GetObject("ic_receipt_black_24dp_1x_green", resourceCulture);\r
+                return ((System.Drawing.Bitmap)(obj));\r
+            }\r
+        }\r
+        \r
+        /// <summary>\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
+        /// </summary>\r
+        internal static System.Drawing.Bitmap ic_reorder_black_24dp_1x {\r
+            get {\r
+                object obj = ResourceManager.GetObject("ic_reorder_black_24dp_1x", resourceCulture);\r
+                return ((System.Drawing.Bitmap)(obj));\r
+            }\r
+        }\r
+        \r
         /// <summary>\r
         ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
@@ -103,39 +173,59 @@ namespace Maestro.Properties {
         /// <summary>\r
         ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
-        internal static System.Drawing.Bitmap mediacube_logo_v2_half_hard_edge {\r
+        internal static System.Drawing.Bitmap ic_settings_black_24dp_1x {\r
             get {\r
-                object obj = ResourceManager.GetObject("mediacube_logo_v2_half_hard_edge", resourceCulture);\r
+                object obj = ResourceManager.GetObject("ic_settings_black_24dp_1x", resourceCulture);\r
                 return ((System.Drawing.Bitmap)(obj));\r
             }\r
         }\r
         \r
         /// <summary>\r
-        ///   Looks up a localized resource of type System.Drawing.Icon similar to (Icon).\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
-        internal static System.Drawing.Icon Pause {\r
+        internal static System.Drawing.Bitmap ic_subject_black_24dp_1x {\r
             get {\r
-                object obj = ResourceManager.GetObject("Pause", resourceCulture);\r
-                return ((System.Drawing.Icon)(obj));\r
+                object obj = ResourceManager.GetObject("ic_subject_black_24dp_1x", resourceCulture);\r
+                return ((System.Drawing.Bitmap)(obj));\r
             }\r
         }\r
         \r
         /// <summary>\r
-        ///   Looks up a localized resource of type System.Drawing.Icon similar to (Icon).\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
         /// </summary>\r
-        internal static System.Drawing.Icon Play {\r
+        internal static System.Drawing.Bitmap ic_toc_black_24dp_1x {\r
             get {\r
-                object obj = ResourceManager.GetObject("Play", resourceCulture);\r
-                return ((System.Drawing.Icon)(obj));\r
+                object obj = ResourceManager.GetObject("ic_toc_black_24dp_1x", resourceCulture);\r
+                return ((System.Drawing.Bitmap)(obj));\r
+            }\r
+        }\r
+        \r
+        /// <summary>\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
+        /// </summary>\r
+        internal static System.Drawing.Bitmap ic_view_headline_black_24dp_1x {\r
+            get {\r
+                object obj = ResourceManager.GetObject("ic_view_headline_black_24dp_1x", resourceCulture);\r
+                return ((System.Drawing.Bitmap)(obj));\r
+            }\r
+        }\r
+        \r
+        /// <summary>\r
+        ///   Looks up a localized resource of type System.Drawing.Bitmap.\r
+        /// </summary>\r
+        internal static System.Drawing.Bitmap mediacube_logo_v2_half_hard_edge {\r
+            get {\r
+                object obj = ResourceManager.GetObject("mediacube_logo_v2_half_hard_edge", resourceCulture);\r
+                return ((System.Drawing.Bitmap)(obj));\r
             }\r
         }\r
         \r
         /// <summary>\r
         ///   Looks up a localized resource of type System.Drawing.Icon similar to (Icon).\r
         /// </summary>\r
-        internal static System.Drawing.Icon Stop {\r
+        internal static System.Drawing.Icon Play {\r
             get {\r
-                object obj = ResourceManager.GetObject("Stop", resourceCulture);\r
+                object obj = ResourceManager.GetObject("Play", resourceCulture);\r
                 return ((System.Drawing.Icon)(obj));\r
             }\r
         }\r
index e262902702e56fa74f3d9dbea433ccb9a91f4272..75f430b001e4339da9526737031322b97b1aafed 100644 (file)
   <data name="ic_clear_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
     <value>..\Resources\ic_clear_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
   </data>\r
-  <data name="Pause" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
-    <value>..\Resources\Pause.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
-  </data>\r
   <data name="Play" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
     <value>..\Resources\Play.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
   </data>\r
-  <data name="Stop" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
-    <value>..\Resources\Stop.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
-  </data>\r
   <data name="ic_search_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
     <value>..\Resources\ic_search_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
   </data>\r
   <data name="mediacube_logo_v2_half_hard_edge" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
     <value>..\Resources\mediacube_logo_v2_half_hard_edge.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
   </data>\r
+  <data name="ic_folder_open_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
+    <value>..\Resources\ic_folder_open_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
+  </data>\r
+  <data name="ic_list_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
+    <value>..\Resources\ic_list_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
+  </data>\r
+  <data name="ic_note_add_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
+    <value>..\Resources\ic_note_add_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
+  </data>\r
+  <data name="ic_playlist_add_check_black_24dp_1x_green" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
+    <value>..\Resources\ic_playlist_add_check_black_24dp_1x_green1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
+  </data>\r
+  <data name="ic_receipt_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
+    <value>..\Resources\ic_receipt_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
+  </data>\r
+  <data name="ic_receipt_black_24dp_1x_green" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
+    <value>..\Resources\ic_receipt_black_24dp_1x_green.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
+  </data>\r
+  <data name="ic_reorder_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
+    <value>..\Resources\ic_reorder_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
+  </data>\r
+  <data name="ic_settings_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
+    <value>..\Resources\ic_settings_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
+  </data>\r
+  <data name="ic_subject_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
+    <value>..\Resources\ic_subject_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
+  </data>\r
+  <data name="ic_toc_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
+    <value>..\Resources\ic_toc_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
+  </data>\r
+  <data name="ic_view_headline_black_24dp_1x" type="System.Resources.ResXFileRef, System.Windows.Forms">\r
+    <value>..\Resources\ic_view_headline_black_24dp_1x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>\r
+  </data>\r
 </root>
\ No newline at end of file
diff --git a/client/Maestro/Resources/Pause.ico b/client/Maestro/Resources/Pause.ico
deleted file mode 100644 (file)
index 4385a53..0000000
Binary files a/client/Maestro/Resources/Pause.ico and /dev/null differ
index 2b5c99647f471f942a2efb2e636309eabdfcf1d4..c9ba294242df2c11e98727b118a52a8463f5397a 100644 (file)
Binary files a/client/Maestro/Resources/Play.ico and b/client/Maestro/Resources/Play.ico differ
diff --git a/client/Maestro/Resources/Stop.ico b/client/Maestro/Resources/Stop.ico
deleted file mode 100644 (file)
index f9d158c..0000000
Binary files a/client/Maestro/Resources/Stop.ico and /dev/null differ
diff --git a/client/Maestro/Resources/ic_folder_open_black_24dp_1x.png b/client/Maestro/Resources/ic_folder_open_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..d7f3571
Binary files /dev/null and b/client/Maestro/Resources/ic_folder_open_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_list_black_24dp_1x.png b/client/Maestro/Resources/ic_list_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..25a7a09
Binary files /dev/null and b/client/Maestro/Resources/ic_list_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_note_add_black_24dp_1x.png b/client/Maestro/Resources/ic_note_add_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..711622d
Binary files /dev/null and b/client/Maestro/Resources/ic_note_add_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_pause_black_24dp_1x.png b/client/Maestro/Resources/ic_pause_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..6145664
Binary files /dev/null and b/client/Maestro/Resources/ic_pause_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_play_arrow_black_24dp_1x.png b/client/Maestro/Resources/ic_play_arrow_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..d78c57b
Binary files /dev/null and b/client/Maestro/Resources/ic_play_arrow_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_play_circle_outline_black_24dp_1x.png b/client/Maestro/Resources/ic_play_circle_outline_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..a84ffc0
Binary files /dev/null and b/client/Maestro/Resources/ic_play_circle_outline_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_playlist_add_check_black_24dp_1x_green1.png b/client/Maestro/Resources/ic_playlist_add_check_black_24dp_1x_green1.png
new file mode 100644 (file)
index 0000000..e072964
Binary files /dev/null and b/client/Maestro/Resources/ic_playlist_add_check_black_24dp_1x_green1.png differ
diff --git a/client/Maestro/Resources/ic_playlist_add_check_black_24dp_2x.png b/client/Maestro/Resources/ic_playlist_add_check_black_24dp_2x.png
new file mode 100644 (file)
index 0000000..24855e9
Binary files /dev/null and b/client/Maestro/Resources/ic_playlist_add_check_black_24dp_2x.png differ
diff --git a/client/Maestro/Resources/ic_receipt_black_24dp_1x.png b/client/Maestro/Resources/ic_receipt_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..5d68f94
Binary files /dev/null and b/client/Maestro/Resources/ic_receipt_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_receipt_black_24dp_1x_green.png b/client/Maestro/Resources/ic_receipt_black_24dp_1x_green.png
new file mode 100644 (file)
index 0000000..b65ca5a
Binary files /dev/null and b/client/Maestro/Resources/ic_receipt_black_24dp_1x_green.png differ
diff --git a/client/Maestro/Resources/ic_receipt_black_24dp_2x.png b/client/Maestro/Resources/ic_receipt_black_24dp_2x.png
new file mode 100644 (file)
index 0000000..de0f06a
Binary files /dev/null and b/client/Maestro/Resources/ic_receipt_black_24dp_2x.png differ
diff --git a/client/Maestro/Resources/ic_reorder_black_24dp_1x.png b/client/Maestro/Resources/ic_reorder_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..d18997c
Binary files /dev/null and b/client/Maestro/Resources/ic_reorder_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_settings_black_24dp_1x.png b/client/Maestro/Resources/ic_settings_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..c59419c
Binary files /dev/null and b/client/Maestro/Resources/ic_settings_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_stop_black_24dp_1x.png b/client/Maestro/Resources/ic_stop_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..0588f0b
Binary files /dev/null and b/client/Maestro/Resources/ic_stop_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_subject_black_24dp_1x.png b/client/Maestro/Resources/ic_subject_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..6bd6a3c
Binary files /dev/null and b/client/Maestro/Resources/ic_subject_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_toc_black_24dp_1x.png b/client/Maestro/Resources/ic_toc_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..e58710b
Binary files /dev/null and b/client/Maestro/Resources/ic_toc_black_24dp_1x.png differ
diff --git a/client/Maestro/Resources/ic_view_headline_black_24dp_1x.png b/client/Maestro/Resources/ic_view_headline_black_24dp_1x.png
new file mode 100644 (file)
index 0000000..c08fe44
Binary files /dev/null and b/client/Maestro/Resources/ic_view_headline_black_24dp_1x.png differ
index 2481849836295ff02ac0944c966b04c301c77dca..22a3b598e5d6f69a31cf34bdc85ce5bcc761ff7a 100644 (file)
Binary files a/client/Maestro/Resources/installforge-installer-project.ifp and b/client/Maestro/Resources/installforge-installer-project.ifp differ
index 525e39d93cb65f20e6905448a5b1144ba117f00a..f635e17ba2669debe23a1bd8e100d7173237d40d 100644 (file)
@@ -23,6 +23,7 @@ namespace Maestro.Sources {
         private List<FileSourceItem> cache;\r
         private BackgroundWorker pathWatcherWorker = new BackgroundWorker();\r
         private string path;\r
+        private string rootPath;\r
         FileSystemWatcher watcher;\r
 \r
         public DataGridViewColumn[] Columns {\r
@@ -66,6 +67,7 @@ namespace Maestro.Sources {
         }\r
 \r
         public ListSortDescriptionCollection SortDescriptions => null;\r
+\r
         public ListSortDirection SortDirection { get; set; }\r
         public PropertyDescriptor SortProperty { get; set; }\r
         public bool SupportsAdvancedSorting => false;\r
@@ -172,8 +174,8 @@ namespace Maestro.Sources {
         }\r
 \r
         public void Startup(Uri address) {\r
-            string path = address.LocalPath;\r
-            this.path = path;\r
+            path = address.LocalPath;\r
+            rootPath = path;\r
             pathWatcherWorker.RunWorkerAsync();\r
         }\r
 \r
index 40be4a3c445e07c8b13faf0d756e4afbf9d3ceef..2a842f66a573e12149a34c3265cc6b3a84a02c88 100644 (file)
@@ -94,8 +94,12 @@ namespace MaestroShared.Targets {
                 Status = INPROGRESS;\r
                 //DateTime started = DateTime.Now;\r
                 string currentFile = GetOutputFilePath(workingDir, OutputName);\r
-                if (FileExists(currentFile) && parameters.TargetConfig.DisableFileVersioning)\r
-                    DeleteFile(currentFile);\r
+                if (FileExists(currentFile) && parameters.TargetConfig.DisableFileVersioning) {\r
+                    if (parameters.TargetConfig.NexioServer) {\r
+                        MessageBox.Show(String.Format($"Az '{OutputName}' állomány már létezik. A feltöltéshez új Octopus azonosító generálása szükséges."));\r
+                    } else \r
+                        DeleteFile(currentFile);\r
+                }\r
                 UploadFile();\r
                 //logger.Info("Spend (s):" + (DateTime.Now - started).TotalSeconds);\r
                 ExecuteCompleted();\r
@@ -322,10 +326,13 @@ namespace MaestroShared.Targets {
             string result = text\r
                 .Replace(PATTERN_ID, ID)\r
                 .Replace(PATTERN_IDROOT, idRoot)\r
-                .Replace(PATTERN_TEXT, HYPHEN + RemoveDiacritics(parameters.MetadataText))\r
                 .Replace(PATTERN_SOURCENAME, Path.GetFileNameWithoutExtension(InputName))\r
                 .Replace(PATTERN_TIMESTAMP, DateTime.Now.ToString(DATETIME_FORMAT, CultureInfo.InvariantCulture))\r
                 .Replace(PATTERN_DATESTAMP, DateTime.Now.ToString(DATE_FORMAT_NODOTS, CultureInfo.InvariantCulture));\r
+\r
+            if (!String.IsNullOrEmpty(parameters.MetadataText))\r
+                result = result.Replace(PATTERN_TEXT, HYPHEN + RemoveDiacritics(parameters.MetadataText));\r
+\r
             // replace hungarian and special characters\r
             result = Regex.Replace(result, NORMALIZE_TEXT_PATTERN, UNDERSCORE);\r
             if (result.Length > 100)\r
index ac63f15f022800fb03533b9465bde960e47af600..3d92bff057882f0824cbe3f679b661c0bd301e8d 100644 (file)
             // \r
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\r
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
-            this.BackColor = System.Drawing.Color.White;\r
+            this.BackColor = System.Drawing.Color.Transparent;\r
             this.Controls.Add(this.treeOctopus);\r
             this.Controls.Add(this.pSeparator);\r
             this.Controls.Add(this.pSearch);\r
index 2a07b2e1230064d8ffd7d64b57e736d4fe6cf22c..cc6de4d90e3f7baa519c5863a7c8251fbd73e93b 100644 (file)
@@ -19,6 +19,7 @@ namespace OctopusClient {
         private OctopusAPI client;\r
         public OnSelectedIDChanged IDChangedEvent { get; set; }\r
         private OctopusConfiguration configuration;\r
+        private bool refreshDisabled;\r
 \r
         public OctopusConfiguration Configuration {\r
             set {\r
@@ -140,7 +141,7 @@ namespace OctopusClient {
                     continue;\r
                 foreach (MosObject mosObject in mosObjects) {\r
                     TreeNode placeHolderNode = storyNode.Nodes.Add(mosObject.ObjID, String.Format($"{mosObject.ObjID}"));\r
-                    placeHolderNode.Tag = mosObject.ID;\r
+                    placeHolderNode.Tag = story;\r
                     if (configuration.DisablePlaceHolderCheck)\r
                         HideCheckBox(treeOctopus, placeHolderNode);\r
                     else {\r
@@ -180,7 +181,7 @@ namespace OctopusClient {
 \r
             if (selectedNode.Checked) {\r
                 Story story = selectedNode.Tag as Story;\r
-                string text = String.Format($"{story.Name}_{story.Format}");\r
+                string text = String.IsNullOrEmpty(story.Format) ? story.Name : String.Format($"{story.Name}_{story.Format}");\r
                 IDChangedEvent?.Invoke(story.ParentStoryID, selectedNode.Name, text);\r
             }  else\r
                 IDChangedEvent?.Invoke(null, null, null);\r
@@ -208,33 +209,35 @@ namespace OctopusClient {
             var rundown = client.GetRundownsByStoryID(storyId)?.FirstOrDefault();\r
             if (rundown == null) {\r
                 var storyFolder = client.GetStoryFoldersByStoryID(storyId)?.FirstOrDefault();\r
-                if (storyFolder == null)\r
-                    return false;\r
-                rbStoryFolder.Checked = true;\r
-                RefreshFolders();\r
-                List<StoryFolder> storyFolders = cbFolders.DataSource as List<StoryFolder>;\r
-                if (storyFolders == null)\r
-                    return false;\r
-                var folderToSelect = storyFolders.Where(f => f.ID.Equals(storyFolder.ID)).FirstOrDefault();\r
-                if (folderToSelect == null)\r
-                    return false;\r
-                lookupStoryId = storyId;\r
-                cbFolders.SelectedItem = folderToSelect;\r
+                if (storyFolder != null) {\r
+                    rbStoryFolder.Checked = true;\r
+                    List<StoryFolder> storyFolders = cbFolders.DataSource as List<StoryFolder>;\r
+                    if (storyFolders != null) {\r
+                        var folderToSelect = storyFolders.Where(f => f.ID.Equals(storyFolder.ID)).FirstOrDefault();\r
+                        if (folderToSelect != null) {\r
+                            lookupStoryId = storyId;\r
+                            cbFolders.SelectedItem = folderToSelect;\r
+                        }\r
+                    }\r
+                }\r
             } else {\r
-                rbRundown.Checked = true;\r
+                refreshDisabled = true;\r
                 dtScheduled.Value = rundown.Start;\r
-                RefreshFolders();\r
+                refreshDisabled = false;\r
+                rbRundown.Checked = true;\r
                 List<Rundown> rundowns = cbFolders.DataSource as List<Rundown>;\r
-                if (rundowns == null)\r
-                    return false;\r
-                var rundownToSelect = rundowns.Where(f => f.ID.Equals(rundown.ID)).FirstOrDefault();\r
-                if (rundownToSelect == null)\r
-                    return false;\r
-                lookupStoryId = storyId;\r
-                cbFolders.SelectedItem = rundownToSelect;\r
+                if (rundowns != null) {\r
+                    var rundownToSelect = rundowns.Where(f => f.ID.Equals(rundown.ID)).FirstOrDefault();\r
+                    if (rundownToSelect != null) {\r
+                        lookupStoryId = storyId;\r
+                        cbFolders.SelectedItem = rundownToSelect;\r
+                    }\r
+                }\r
             }\r
             txtFilter.Text = lookupStoryId;\r
             lookupStoryId = null;\r
+            if (selectedNode == null)\r
+                MessageBox.Show("Nincs találat.");\r
             return selectedNode != null;\r
         }\r
 \r
@@ -244,33 +247,37 @@ namespace OctopusClient {
             var rundown = client.GetRundownsByPlaceHolderId(placeHolderId)?.FirstOrDefault();\r
             if (rundown == null) {\r
                 var storyFolder = client.GetStoryFoldersByPlaceHolderId(placeHolderId)?.FirstOrDefault();\r
-                if (storyFolder == null)\r
-                    return false;\r
-                rbStoryFolder.Checked = true;\r
-                RefreshFolders();\r
-                List<StoryFolder> storyFolders = cbFolders.DataSource as List<StoryFolder>;\r
-                if (storyFolders == null)\r
-                    return false;\r
-                var folderToSelect = storyFolders.Where(f => f.ID.Equals(storyFolder.ID)).FirstOrDefault();\r
-                if (folderToSelect == null)\r
-                    return false;\r
-                lookupPlaceHolderId = placeHolderId;\r
-                cbFolders.SelectedItem = folderToSelect;\r
+                if (storyFolder != null) {\r
+                    rbStoryFolder.Checked = true;\r
+                    List<StoryFolder> storyFolders = cbFolders.DataSource as List<StoryFolder>;\r
+                    if (storyFolders != null) {\r
+                        var folderToSelect = storyFolders.Where(f => f.ID.Equals(storyFolder.ID)).FirstOrDefault();\r
+                        if (folderToSelect != null) {\r
+                            lookupPlaceHolderId = placeHolderId;\r
+                            cbFolders.SelectedItem = folderToSelect;\r
+                        }\r
+                    }\r
+                }\r
+                \r
             } else {\r
-                rbRundown.Checked = true;\r
+                refreshDisabled = true;\r
                 dtScheduled.Value = rundown.Start;\r
-                RefreshFolders();\r
+                refreshDisabled = false;\r
+                rbRundown.Checked = true;\r
                 List<Rundown> rundowns = cbFolders.DataSource as List<Rundown>;\r
-                if (rundowns == null)\r
-                    return false;\r
-                var rundownToSelect = rundowns.Where(f => f.ID.Equals(rundown.ID)).FirstOrDefault();\r
-                if (rundownToSelect == null)\r
-                    return false;\r
-                lookupPlaceHolderId = placeHolderId;\r
-                cbFolders.SelectedItem = rundownToSelect;\r
+                if (rundowns != null) {\r
+                    var rundownToSelect = rundowns.Where(f => f.ID.Equals(rundown.ID)).FirstOrDefault();\r
+                    if (rundownToSelect != null) {\r
+                        lookupPlaceHolderId = placeHolderId;\r
+                        cbFolders.SelectedItem = rundownToSelect;\r
+                    }\r
+                }\r
+                \r
             }\r
             txtFilter.Text = lookupPlaceHolderId;\r
             lookupPlaceHolderId = null;\r
+            if (selectedNode == null)\r
+                MessageBox.Show("Nincs találat.");\r
             return selectedNode != null;\r
         }\r
 \r
@@ -279,6 +286,8 @@ namespace OctopusClient {
         }\r
 \r
         private void RefreshFolders() {\r
+            if (refreshDisabled)\r
+                return;\r
             ClearSelection();\r
             Cursor.Current = Cursors.WaitCursor;\r
             if (rbRundown.Checked) {\r
index c196e877f229a19ff324244b3297b3edc7e8bb8d..7a1d39366001ec4ab700ec520772c2c84db91a86 100644 (file)
@@ -56,8 +56,7 @@
     <Prefer32Bit>true</Prefer32Bit>\r
   </PropertyGroup>\r
   <PropertyGroup>\r
-    <ApplicationIcon>\r
-    </ApplicationIcon>\r
+    <ApplicationIcon>maestro.ico</ApplicationIcon>\r
   </PropertyGroup>\r
   <ItemGroup>\r
     <Reference Include="System" />\r
@@ -79,7 +78,7 @@
     <None Include="App.config" />\r
   </ItemGroup>\r
   <ItemGroup>\r
-    <Content Include="mediacube_logo_small_yellow.ico" />\r
+    <Content Include="maestro.ico" />\r
   </ItemGroup>\r
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
 </Project>
\ No newline at end of file
index 48502582284ac1c53e58c04a42bbbad1c7b21177..dbddf5af83c63a1efbfdc0588b60aa0c659cec1e 100644 (file)
@@ -29,9 +29,9 @@
         private void InitializeComponent()\r
         {\r
             this.components = new System.ComponentModel.Container();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();\r
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();\r
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();\r
             this.trafficAPIBindingSource = new System.Windows.Forms.BindingSource(this.components);\r
             this.dtScheduled = new System.Windows.Forms.DateTimePicker();\r
             this.txtFilter = new System.Windows.Forms.TextBox();\r
             // pSearch\r
             // \r
             this.pSearch.AutoSize = true;\r
+            this.pSearch.BackColor = System.Drawing.Color.Transparent;\r
             this.pSearch.ColumnCount = 2;\r
             this.pSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
             this.pSearch.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
             this.dgTraffic.BackgroundColor = System.Drawing.Color.White;\r
             this.dgTraffic.BorderStyle = System.Windows.Forms.BorderStyle.None;\r
             this.dgTraffic.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.Raised;\r
-            dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
-            dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;\r
-            dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
-            dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;\r
-            dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
-            dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
-            dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
-            this.dgTraffic.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;\r
+            dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+            dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;\r
+            dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+            dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;\r
+            dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
+            dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
+            dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
+            this.dgTraffic.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;\r
             this.dgTraffic.DataSource = this.trafficAPIBindingSource;\r
-            dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
-            dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;\r
-            dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
-            dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;\r
-            dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
-            dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.Black;\r
-            dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
-            this.dgTraffic.DefaultCellStyle = dataGridViewCellStyle8;\r
+            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+            dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;\r
+            dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
+            dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;\r
+            dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
+            dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.Black;\r
+            dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
+            this.dgTraffic.DefaultCellStyle = dataGridViewCellStyle5;\r
             this.dgTraffic.Dock = System.Windows.Forms.DockStyle.Fill;\r
             this.dgTraffic.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;\r
             this.dgTraffic.EnableHeadersVisualStyles = false;\r
-            this.dgTraffic.Location = new System.Drawing.Point(0, 72);\r
+            this.dgTraffic.Location = new System.Drawing.Point(0, 78);\r
             this.dgTraffic.Margin = new System.Windows.Forms.Padding(0);\r
             this.dgTraffic.MultiSelect = false;\r
             this.dgTraffic.Name = "dgTraffic";\r
             this.dgTraffic.RowHeadersVisible = false;\r
-            dataGridViewCellStyle9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
-            this.dgTraffic.RowsDefaultCellStyle = dataGridViewCellStyle9;\r
+            dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
+            this.dgTraffic.RowsDefaultCellStyle = dataGridViewCellStyle6;\r
             this.dgTraffic.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
             this.dgTraffic.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;\r
-            this.dgTraffic.Size = new System.Drawing.Size(300, 328);\r
+            this.dgTraffic.Size = new System.Drawing.Size(300, 322);\r
             this.dgTraffic.TabIndex = 0;\r
             this.dgTraffic.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);\r
             this.dgTraffic.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);\r
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\r
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
             this.AutoSize = true;\r
-            this.BackColor = System.Drawing.Color.White;\r
-            this.Controls.Add(this.pSeparator);\r
+            this.BackColor = System.Drawing.Color.Transparent;\r
             this.Controls.Add(this.dgTraffic);\r
+            this.Controls.Add(this.pSeparator);\r
             this.Controls.Add(this.pSearch);\r
             this.Name = "TrafficIDSelector";\r
             this.Size = new System.Drawing.Size(300, 400);\r
index 2ea650ba9b7af6930c2c6da2ee241ea5f7f20de1..ef66dee9860bd672d8637400160cbe9ebc6cf603 100644 (file)
@@ -41,7 +41,7 @@
                        <Filters>\r
                                <MarkerFilter marker="MEDIACUBE" onMatch="DENY" onMismatch="NEUTRAL" />\r
                        </Filters>\r
-                       <PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %logger{1}.%M %msg (%F:%L)%n %throwable" />\r
+                       <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %level %logger{1}.%M %msg (%F:%L)%n %throwable" />\r
                        <Policies>\r
                                <TimeBasedTriggeringPolicy />\r
                        </Policies>\r
index bbc0b511bdb873d556a8d9b0d34a7ef14430e028..0e9ee5c4368fc01bb4b654a0acccb9a7cb095254 100644 (file)
@@ -56,8 +56,8 @@ public class ArchiveListBuilderStep extends JobStep {
                        result.setMediaTitle(getMetadata(dbObject, MEDIA_TITLE));\r
                        result.setMediaDescription(getMetadata(dbObject, MEDIA_DESCRIPTION));\r
 \r
-                       result.setMediaFile(mediaFilePath);\r
-                       result.setCatchedFile(catchedFilePath);\r
+                       result.setMediaFile(mediaFilePath.toString());\r
+                       result.setCatchedFile(catchedFilePath.toString());\r
 \r
                } catch (IOException e) {\r
                        logger.catching(e);\r
index 61a6b2935213381dee2c9b8c4836fb2e68d844ca..29dfa805122b5f177de69b02f60b9d5828530306 100644 (file)
@@ -1,5 +1,7 @@
 package user.jobengine.server.steps;\r
 \r
+import java.io.File;\r
+\r
 import org.apache.logging.log4j.LogManager;\r
 import org.apache.logging.log4j.Logger;\r
 \r
@@ -39,7 +41,7 @@ public class MetadataTransformStep extends JobStep {
                } catch (Exception e) {\r
                        logger.catching(e);\r
                        if (!archiveItem.removeCatchedFile())\r
-                               logger.error(getMarker(), "A {} állomány .catched jelző állománya nem törölhető.", archiveItem.getMediaFile().toFile().getName());\r
+                               logger.error(getMarker(), "A {} állomány .catched jelző állománya nem törölhető.", new File(archiveItem.getMediaFile()).getName());\r
 \r
                        throw e;\r
 \r
index 9271e46bd47f0f91385d5a60a33cd96167eda3f0..1cf1f1d3381be524b7c82f6a07459ad04a2d18f7 100644 (file)
@@ -1,7 +1,7 @@
 package user.jobengine.server.steps;\r
 \r
+import java.io.File;\r
 import java.io.IOException;\r
-import java.nio.file.Path;\r
 import java.sql.Timestamp;\r
 import java.util.Date;\r
 \r
@@ -27,7 +27,7 @@ import user.jobengine.server.JobEngineException;
 public class TSMBackupStep extends JobStep {\r
        private static final Logger logger = LogManager.getLogger();\r
        private IItemManager manager;\r
-       private Path sourceMediaFile;\r
+       private File sourceMediaFile;\r
        private Store tsmStore;\r
        private StoreUri targetUri;\r
        private FileType fileType;\r
@@ -36,6 +36,7 @@ public class TSMBackupStep extends JobStep {
        public Object[] execute(ArchiveItem archiveItem, Media mediaCubeMedia, int killDateDays, IJobEngine jobEngine, IJobRuntime jobRuntime) throws Exception {\r
                try {\r
                        setAndCheck(archiveItem, mediaCubeMedia, jobEngine);\r
+                       File sourceMediaFile = new File(archiveItem.getMediaFile());\r
 \r
                        StoreUri sourceUri = manager.createStoreUri(RemoteStoreProtocol.LOCAL, sourceMediaFile.getParent().toString());\r
 \r
@@ -52,24 +53,23 @@ public class TSMBackupStep extends JobStep {
                                        evt.setCancel(!canContinue());\r
                                }\r
                        });\r
-                       String sourceFileName = sourceMediaFile.toFile().getName();\r
+                       String sourceFileName = sourceMediaFile.getName();\r
                        RemoteFile remoteFile = sourceUri.transferFrom(targetUri, sourceFileName, sourceFileName);\r
 \r
                        saveMetadata(mediaCubeMedia, sourceFileName);\r
-                       logger.info(getMarker(), "Az '{}' állomány archiválása sikeres.", archiveItem.getMediaFile().toFile().getName());\r
+                       logger.info(getMarker(), "Az '{}' állomány archiválása sikeres.", sourceMediaFile.getName());\r
 \r
                        if (killDateDays > 0) {\r
-                               KillDateFile killDateFile = new KillDateFile(sourceMediaFile.getParent().toString(), sourceMediaFile.getFileName().toString());\r
+                               KillDateFile killDateFile = new KillDateFile(sourceMediaFile.getParent().toString(), sourceMediaFile.getName().toString());\r
                                killDateFile.create(killDateDays, getMarker());\r
                        }\r
                } catch (Exception e) {\r
                        logger.catching(e);\r
-                       logger.error(getMarker(), "Az '{}' állomány archiválása sikertelen. A rendszer hibaüzenete: {}", archiveItem.getMediaFile().toFile().getName(),\r
-                                       e.getMessage());\r
+                       logger.error(getMarker(), "Az '{}' állomány archiválása sikertelen. A rendszer hibaüzenete: {}", sourceMediaFile.getName(), e.getMessage());\r
                        if (!archiveItem.removeCatchedFile())\r
                                logger.error(getMarker(),\r
                                                "Az '{}' állomány .catched jelző állománya nem törölhető. Az újabb archiválási kísérlethez annak kézi eltávolítása szükséges!",\r
-                                               archiveItem.getMediaFile().toFile().getName());\r
+                                               sourceMediaFile.getName());\r
                        throw e;\r
                }\r
                return null;\r
@@ -98,14 +98,14 @@ public class TSMBackupStep extends JobStep {
                        logger.error(getMarker(), "A folyamat 'archiveItem' bemeneti paramétere üres.");\r
                        throw new NullPointerException("System is not configured properly, missing 'archiveItem' input parameter.");\r
                }\r
-               sourceMediaFile = archiveItem.getMediaFile();\r
+               sourceMediaFile = new File(archiveItem.getMediaFile());\r
                if (sourceMediaFile == null) {\r
                        logger.error(getMarker(), "A folyamat 'archiveItem' bemeneti paraméter 'mediaFile' értéke üres.");\r
                        throw new NullPointerException("System is not configured properly, missing 'mediaFile' value in 'archiveItem' input parameter.");\r
                }\r
-               if (!sourceMediaFile.toFile().exists()) {\r
-                       logger.error(getMarker(), "Az {} állomány nem létezik vagy nem érhető el.", sourceMediaFile.toFile().getName());\r
-                       throw new IOException(String.format("Input file {} not exists or unreachable.", sourceMediaFile.toFile().getName()));\r
+               if (!sourceMediaFile.exists()) {\r
+                       logger.error(getMarker(), "Az {} állomány nem létezik vagy nem érhető el.", sourceMediaFile.getName());\r
+                       throw new IOException(String.format("Input file {} not exists or unreachable.", sourceMediaFile.getName()));\r
                }\r
                tsmStore = manager.getSystemStore(false);\r
                if (tsmStore == null) {\r
index 4624113b5a1dadfaafde16e51d33c666e835c00e..456908b03fea4520b7796e960761f37a7efd7359 100644 (file)
@@ -1,5 +1,6 @@
 package user.jobengine.server.steps;\r
 \r
+import java.io.File;\r
 import java.io.IOException;\r
 import java.net.URL;\r
 import java.nio.file.Files;\r
@@ -128,7 +129,7 @@ public class TranscodeSELENIOStep extends JobStep {
                //              if (sourceStoreUri == null)\r
                //                      throw new NullPointerException("System is not configured properly, low-res system store SMB store URI definition missing.");\r
 \r
-               Path inputPath = Paths.get(globalSourcePath, archiveItem.getMediaFile().toFile().getName());\r
+               Path inputPath = Paths.get(globalSourcePath, new File(archiveItem.getMediaFile()).getName());\r
                String sourceFilePath = inputPath.toString();\r
                //              String outputPath = sourceStoreUri.getRootPath();\r
                TranscodeRequest transcodeRequest = buildTranscodeRequest(projectFilePath, sourceFilePath);\r
index fb11e316f1b66130c437a9285b74fdf27987792a..3ae3c16a3a6071ad6ff19c10632e9c29f49286ed 100644 (file)
@@ -465,7 +465,6 @@ public class OctopusDataMiner implements Runnable {
                try {\r
                        ensureIndexes();\r
                        Date lastUpdateTime = getLastUpdateTime();\r
-                       setLastUpdateTime(new Date());\r
 \r
                        buildStoriesReferences();\r
 \r
@@ -488,6 +487,7 @@ public class OctopusDataMiner implements Runnable {
                                storeStoryFolders(storyFolders, lastUpdateTime);\r
                        }\r
                        deleteOrphanStories();\r
+                       setLastUpdateTime(new Date());\r
                } catch (Exception e) {\r
                        logger.catching(e);\r
                        throw e;\r
@@ -515,7 +515,7 @@ public class OctopusDataMiner implements Runnable {
                logger.trace(ENTER);\r
                long rundownID = rundown.getLong(ID);\r
                String name = rundown.containsKey(NAME) ? rundown.getString(NAME) : null;\r
-\r
+               logger.info("Checking rundown {} {}", name, rundown.get(SCHEDULED_START));\r
                BasicDBObject rundownWithStories = queryRundown(rundownID);\r
                BasicDBList stories = asDBList(rundownWithStories, SLUGS);\r
                if (stories != null)\r
index 80db5c0a175dcac86543a1181805ca3db18131c2..aab159d4e32678ae0baff36601a64e7f754ed8d9 100644 (file)
@@ -24,7 +24,7 @@ public class TSMLister implements IDirectoryLister {
 \r
        public TSMLister(StoreUri storeUri) throws Exception {\r
                client = new TSMBufferedClient();\r
-               logger.info("TSMBufferedClient initialized!");\r
+               logger.info("TSMBufferedClient created!");\r
                client.connect(storeUri.getUserName(), storeUri.getPassword());\r
                logger.info("TSMBufferedClient connected!");\r
        }\r
index aa1336d9fa3ec597c76af39951adf57329b3679b..cec5021b08daf049c77343fc3176249b3d42e632 100644 (file)
@@ -357,22 +357,13 @@ public class JobRuntime extends Job implements IJobRuntime {
                        ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
                        ObjectOutputStream out;
                        out = new ObjectOutputStream(byteOut);
-
-                       // for (Object obj : parameters.values()) {
-                       // logger.info("Writing: " + obj.getClass());
-                       // out.writeObject(obj);
-                       // }
-                       //
                        out.writeObject(parameters);
                        byte[] convertedData = byteOut.toByteArray();
                        jobParameters.setId(getId());
                        jobParameters.setData(convertedData);
                        jobParameters.add();
-
-                       //                      EntityBaseDAO dao = (EntityBaseDAO) ItemManager.getInstance().getBaseDAO(JobParameters.class);
-                       //                      dao.add(jobParameters);
                } catch (Exception e) {
-                       logger.error(e);
+                       logger.catching(e);
                }
        }
 
index 7b3ccd76e4ea6582f7539a0eb8e16f0e01617b1a..5b807c624df0f767e074af661663ad8030e0d47c 100644 (file)
@@ -2,7 +2,6 @@ package user.jobengine.server.steps;
 \r
 import java.io.File;\r
 import java.io.Serializable;\r
-import java.nio.file.Path;\r
 \r
 public class ArchiveItem implements Serializable {\r
        private static final long serialVersionUID = -7278747969491719357L;\r
@@ -12,11 +11,10 @@ public class ArchiveItem implements Serializable {
        private String mediaHouseId;\r
        private String mediaTitle;\r
        private String mediaDescription;\r
+       private String mediaFile = null;\r
+       private String catchedFile = null;\r
 \r
-       private Path mediaFile = null;\r
-       private Path catchedFile = null;\r
-\r
-       public Path getCatchedFile() {\r
+       public String getCatchedFile() {\r
                return catchedFile;\r
        }\r
 \r
@@ -36,7 +34,7 @@ public class ArchiveItem implements Serializable {
                return mediaDescription;\r
        }\r
 \r
-       public Path getMediaFile() {\r
+       public String getMediaFile() {\r
                return mediaFile;\r
        }\r
 \r
@@ -51,14 +49,14 @@ public class ArchiveItem implements Serializable {
        public boolean removeCatchedFile() {\r
                boolean result = false;\r
                if (catchedFile != null) {\r
-                       File file = catchedFile.toFile();\r
+                       File file = new File(catchedFile);\r
                        if (file.exists())\r
                                result = file.delete();\r
                }\r
                return result;\r
        }\r
 \r
-       public void setCatchedFile(Path catchedFile) {\r
+       public void setCatchedFile(String catchedFile) {\r
                this.catchedFile = catchedFile;\r
        }\r
 \r
@@ -78,7 +76,7 @@ public class ArchiveItem implements Serializable {
                this.mediaDescription = mediaDescription;\r
        }\r
 \r
-       public void setMediaFile(Path mediaFile) {\r
+       public void setMediaFile(String mediaFile) {\r
                this.mediaFile = mediaFile;\r
        }\r
 \r