<PlatformTarget>x64</PlatformTarget>\r
<ErrorReport>prompt</ErrorReport>\r
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>\r
+ <Deterministic>true</Deterministic>\r
</PropertyGroup>\r
<PropertyGroup>\r
<ApplicationIcon>maestro.ico</ApplicationIcon>\r
<None Include="Configuration\audiorecorder.json1">\r
<CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
</None>\r
- <None Include="Configuration\audiorecorder.en">\r
+ <None Include="Configuration\audiorecorder.en1">\r
<CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
</None>\r
<None Include="nlog.config">\r
"address": "file://C:\\temp"\r
}\r
},\r
+ "trafficTarget": {\r
+ "processor": "UNCTargetProcessor",\r
+ "outputFormat": "%ID%",\r
+ "remote": {\r
+ "address": "file://C:\\temp"\r
+ }\r
+ },\r
+ "trafficPromoTarget": {\r
+ "processor": "UNCTargetProcessor",\r
+ "outputFormat": "%ID%",\r
+ "remote": {\r
+ "address": "file://C:\\temp"\r
+ }\r
+ },\r
+ "trafficADTarget": {\r
+ "processor": "UNCTargetProcessor",\r
+ "outputFormat": "%ID%",\r
+ "remote": {\r
+ "address": "file://C:\\temp"\r
+ }\r
+ },\r
"freeTarget": {\r
"processor": "UNCTargetProcessor",\r
"outputFormat": "%ID%",\r
-using System;\r
+using AudioRecorder.Properties;\r
+using MaestroShared.Commons;\r
+using MaestroShared.Configuration;\r
+using MaestroShared.Metadata;\r
+using MaestroShared.Target;\r
+using MaestroShared.Targets;\r
+using NAudio.CoreAudioApi;\r
+using System;\r
using System.Collections.Generic;\r
+using System.ComponentModel;\r
using System.Diagnostics;\r
using System.Drawing;\r
-using NAudio.CoreAudioApi;\r
-using System.Windows.Forms;\r
using System.IO;\r
-using MaestroShared.Configuration;\r
-using System.ComponentModel;\r
-using MaestroShared.Commons;\r
-using MaestroShared.Target;\r
using System.Security.Principal;\r
-using MaestroShared.Targets;\r
-using static AudioRecorder.MetadataSelectorForm;\r
-using MaestroShared.Metadata;\r
-using AudioRecorder.Properties;\r
using System.Threading;\r
+using System.Windows.Forms;\r
+using static AudioRecorder.MetadataSelectorForm;\r
\r
namespace AudioRecorder {\r
public delegate void RefreshPanelDelegate();\r
SelectedDeviceIndex = audioDevicesNames.IndexOf(parameters.DeviceName);\r
if (SelectedDeviceIndex < 0)\r
ShowAudioDeviceSelectorForm();\r
- }\r
- catch (Exception ex) {\r
+ } catch (Exception ex) {\r
MsgBox.Error(ex.Message);\r
}\r
}\r
//Debug.WriteLine(String.Format($"Values {levels[0]}"));\r
pmVolume.SetData(levels, 0, 1);\r
System.Threading.Thread.Sleep(100);\r
- }\r
- catch (Exception ex) {\r
+ } catch (Exception ex) {\r
Debug.WriteLine(ex.Message);\r
}\r
}\r
Directory.CreateDirectory(parameters.WorkingDirectory.LocalPath);\r
recorder = new WavRecorder(SelectedDeviceIndex, CurrentDevice);\r
currentDevice.AudioEndpointVolume.OnVolumeNotification += OnAudioEndpointVolumeChanged;\r
- }\r
- catch (Exception ex) {\r
+ } catch (Exception ex) {\r
MsgBox.Error(ex.Message);\r
}\r
}\r
playButton.Enabled = false;\r
stopButton.BackColor = Color.Red;\r
recordButton.BackColor = Color.White;\r
- }\r
- catch (Exception e) {\r
+ } catch (Exception e) {\r
MsgBox.Error(e.Message);\r
}\r
}\r
stopButton.BackColor = Color.White;\r
recordButton.BackColor = Color.Lime;\r
Export();\r
- }\r
- catch (Exception e) {\r
+ } catch (Exception e) {\r
MsgBox.Error(e.Message);\r
}\r
}\r
\r
public DialogResult ShowMTAFileSaveDialog(SaveFileDialog sd) {\r
DialogResult dlgRes = DialogResult.Cancel;\r
- Thread theThread = new Thread((ThreadStart)delegate\r
- {\r
+ Thread theThread = new Thread((ThreadStart)delegate {\r
//Create a layout dialog instance on the current thread to align the file dialog Form \r
Form frmLayout = new Form();\r
frmLayout.StartPosition = FormStartPosition.Manual;\r
string path = Path.GetDirectoryName(processor.Output);\r
string name = Path.GetFileName(processor.Output);\r
MsgBox.Info(String.Format(parameters.Resource("SUCCESSMESSAGE", Resources.SUCCESSMESSAGE), path, name));\r
- }\r
- else\r
+ } else\r
MsgBox.Error(processor.Message);\r
}\r
\r
{\r
"title": "UNC2FTP_NEXIO_UNC",\r
- "active": true,\r
+ "active": false,\r
"startInTray": false,\r
"enableCustomMetadataId": true,\r
"defaultWindowColor": "#E1BEE7",\r
"metadatas": [\r
{\r
"$type": "OctopusMetadata",\r
- "disableStoryCheck": true,\r
+ "disabled": true,\r
"server": {\r
"address": "http://10.10.1.27/services/rest/octopus/",\r
"timeout": 1000\r
- },\r
- "projectSettings": {\r
- "templateRoot": {\r
- "address": "file://10.10.1.100/BRAAVOS/.MAESTRO",\r
- "userName": "mediacube",\r
- "password": "Dn8t4gfHcK98o8hyPgLDhr5SgSji4JCxsfpMJsODikUp3nXgrM0UNCi45lLAK8ZOnmEneO44P9qpJ4QDqhctN6MxZodjJgdZTyoZKmSa+ECzEzLr/wPYNgxVaXrVotEy",\r
- "timeout": 1000\r
- },\r
- "templateName": "ALAPTIMELINE.ezp",\r
- "target": {\r
- "label": "Projekt létrehozása",\r
- "processor": "UNCTargetProcessor",\r
- "outputFormat": "%ID%",\r
- "subFolderFormat": "%IDROOT%-%TEXT%/PROJECT",\r
- "disableFileVersioning": true,\r
- "remote": {\r
- "address": "file://10.10.1.100/BRAAVOS/OCTOPUS",\r
- "userName": "mediacube",\r
- "password": "Dn8t4gfHcK98o8hyPgLDhr5SgSji4JCxsfpMJsODikUp3nXgrM0UNCi45lLAK8ZOnmEneO44P9qpJ4QDqhctN6MxZodjJgdZTyoZKmSa+ECzEzLr/wPYNgxVaXrVotEy",\r
- "timeout": 1000\r
- }\r
- },\r
- "disableOpenProject": false,\r
- "disableOpenSourceFolder": false\r
}\r
},\r
{\r
{\r
- "title": "NEXIO2UNC_FXP",\r
+ "title": "Stúdió szerverről másolás",\r
"active": true,\r
- "startInTray": false,\r
+ "startInTray": true,\r
"enableCustomMetadataId": true,\r
"filter": "avi",\r
"player": {\r
{\r
"$type": "OctopusMetadata",\r
"server": {\r
- "address": "http://localhost:8888/services/rest/octopus",\r
+ "address": "http://10.10.1.27/services/rest/octopus",\r
"timeout": 1000\r
}\r
},\r
],\r
"targets": [\r
{\r
- "label": "Archiválás",\r
+ "label": "Octopus mappába küldés",\r
+ "processor": "FXPTargetProcessor",\r
+ "subFolderFormat": "%IDROOT%-%TEXT%",\r
+ "outputFormat": "%ID%-%SOURCENAME%",\r
+ "killDateDays": 15,\r
+ "temporaryCopy": true,\r
+ "remote": {\r
+ "address": "ftp://10.10.1.100/OCTOPUS",\r
+ "userName": "mediacube",\r
+ "password": "H7YCE8gvuGsPvN3bQSf4FTH0/4IRmoe3gKY0QvgG+wlfqS48yLhm/fDoPSRaWpDWa3RKZAnLF3pKs+lLSQX0IRVZDRCkydQP7syEwKhHztbJ+A88W9rKRF2JrQ7W6jA1",\r
+ "timeout": 1000\r
+ },\r
+ "tag": "Betöltés"\r
+ },\r
+ {\r
+ "label": "Traffic mappába küldés",\r
"processor": "FXPTargetProcessor",\r
- "outputFormat": "%ID%",\r
- "tag": "Archiválás",\r
- "saveArchiveMetadata": true,\r
- "deleteAfterCopy": false,\r
+ "outputFormat": "%ID%-%SOURCENAME%",\r
+ "tag": "Betöltés",\r
+ "subFolderFormat": "%IDROOT%-%TEXT%",\r
+ "killDateDays": 7,\r
"temporaryCopy": true,\r
- "killDateDays": 5,\r
+ "saveArchiveMetadata": false,\r
"remote": {\r
- "address": "ftp://10.10.1.100:21/ARCHIVE/TESZT",\r
+ "address": "ftp://10.10.1.100/PLAYOUT_NLE",\r
"userName": "mediacube",\r
"password": "Dn8t4gfHcK98o8hyPgLDhr5SgSji4JCxsfpMJsODikUp3nXgrM0UNCi45lLAK8ZOnmEneO44P9qpJ4QDqhctN6MxZodjJgdZTyoZKmSa+ECzEzLr/wPYNgxVaXrVotEy",\r
"timeout": 1000\r
}\r
- }\r
- ]\r
+ },\r
+ {\r
+ "label": "Promo mappába küldés",\r
+ "processor": "FTPTargetProcessor",\r
+ "outputFormat": "%ID%-%SOURCENAME%",\r
+ "tag": "Betöltés",\r
+ "subFolderFormat": "%IDROOT%-%TEXT%/INGEST-%TIMESTAMP%",\r
+ "killDateDays": 30,\r
+ "temporaryCopy": true,\r
+ "saveArchiveMetadata": false,\r
+ "remote": {\r
+ "address": "ftp://10.10.1.100/PROMO_NLE",\r
+ "userName": "mediacube",\r
+ "password": "Dn8t4gfHcK98o8hyPgLDhr5SgSji4JCxsfpMJsODikUp3nXgrM0UNCi45lLAK8ZOnmEneO44P9qpJ4QDqhctN6MxZodjJgdZTyoZKmSa+ECzEzLr/wPYNgxVaXrVotEy",\r
+ "timeout": 1000\r
+ }\r
+ }, \r
+ {\r
+ "label": "Reklám mappába küldés",\r
+ "processor": "FTPTargetProcessor",\r
+ "outputFormat": "%ID%-%SOURCENAME%",\r
+ "tag": "Betöltés",\r
+ "subFolderFormat": "%IDROOT%-%TEXT%/INGEST-%TIMESTAMP%",\r
+ "killDateDays": 14,\r
+ "temporaryCopy": true,\r
+ "saveArchiveMetadata": false,\r
+ "remote": {\r
+ "address": "ftp://10.10.1.100/REKLAM_NLE",\r
+ "userName": "mediacube",\r
+ "password": "Dn8t4gfHcK98o8hyPgLDhr5SgSji4JCxsfpMJsODikUp3nXgrM0UNCi45lLAK8ZOnmEneO44P9qpJ4QDqhctN6MxZodjJgdZTyoZKmSa+ECzEzLr/wPYNgxVaXrVotEy",\r
+ "timeout": 1000\r
+ }\r
+ },\r
+ {\r
+ "label": "TQC check",\r
+ "processor": "FXPTargetProcessor",\r
+ "outputFormat": "%ID%-%SOURCENAME%",\r
+ "tag": "Betöltés",\r
+ "killDateDays": 7,\r
+ "temporaryCopy": true,\r
+ "saveArchiveMetadata": false,\r
+ "remote": {\r
+ "address": "ftp://10.10.1.100/TQC/CHECK",\r
+ "userName": "mediacube",\r
+ "password": "Dn8t4gfHcK98o8hyPgLDhr5SgSji4JCxsfpMJsODikUp3nXgrM0UNCi45lLAK8ZOnmEneO44P9qpJ4QDqhctN6MxZodjJgdZTyoZKmSa+ECzEzLr/wPYNgxVaXrVotEy",\r
+ "timeout": 1000\r
+ }\r
+ },\r
+ {\r
+ "label": "TQC promo",\r
+ "processor": "FXPTargetProcessor",\r
+ "outputFormat": "%ID%-%SOURCENAME%",\r
+ "tag": "Betöltés",\r
+ "killDateDays": 7,\r
+ "temporaryCopy": true,\r
+ "saveArchiveMetadata": false,\r
+ "remote": {\r
+ "address": "ftp://10.10.1.100/TQC/PROMO",\r
+ "userName": "mediacube",\r
+ "password": "Dn8t4gfHcK98o8hyPgLDhr5SgSji4JCxsfpMJsODikUp3nXgrM0UNCi45lLAK8ZOnmEneO44P9qpJ4QDqhctN6MxZodjJgdZTyoZKmSa+ECzEzLr/wPYNgxVaXrVotEy",\r
+ "timeout": 1000\r
+ }\r
+ },\r
+ {\r
+ "label": "TQC reklám",\r
+ "processor": "FXPTargetProcessor",\r
+ "outputFormat": "%ID%-%SOURCENAME%",\r
+ "tag": "Betöltés",\r
+ "killDateDays": 7,\r
+ "temporaryCopy": true,\r
+ "saveArchiveMetadata": false,\r
+ "remote": {\r
+ "address": "ftp://10.10.1.100/TQC/REKLAM",\r
+ "userName": "mediacube",\r
+ "password": "Dn8t4gfHcK98o8hyPgLDhr5SgSji4JCxsfpMJsODikUp3nXgrM0UNCi45lLAK8ZOnmEneO44P9qpJ4QDqhctN6MxZodjJgdZTyoZKmSa+ECzEzLr/wPYNgxVaXrVotEy",\r
+ "timeout": 1000\r
+ }\r
+ }]\r
}\r
--- /dev/null
+{\r
+ "title": "NEXIO2UNC_FXP",\r
+ "active": false,\r
+ "startInTray": false,\r
+ "enableCustomMetadataId": true,\r
+ "filter": "avi",\r
+ "player": {\r
+ },\r
+ "source": {\r
+ "$type": "NEXIOSource",\r
+ "local": {\r
+ "address": "ws://10.10.1.27/services/nexio"\r
+ },\r
+ "remote": {\r
+ "address": "ftp://10.10.1.55:2098",\r
+ "userName": "administrator",\r
+ "password": "+QtkeQdCTiOvZOgK/kUND4pO4/D+//r7ZIyluwMMdiqMEgO8iJErAG10ooWhPfiljQeXrdeyMzo7gWEZtcWpNSomGeDIbdMyQwtpqmMo1VEM3A27ZfzigY09YD46ECRh"\r
+ }\r
+ },\r
+ "metadatas": [\r
+ {\r
+ "$type": "OctopusMetadata",\r
+ "server": {\r
+ "address": "http://localhost:8888/services/rest/octopus",\r
+ "timeout": 1000\r
+ }\r
+ },\r
+ {\r
+ "$type": "TrafficMetadata",\r
+ "server": {\r
+ "address": "Data Source=10.10.1.45;Initial Catalog=PA_Echo;Persist Security Info=True;",\r
+ "userName": "MAM",\r
+ "password": "7RKZYBzumKjL40SJwuwiFCvX57xuCN8zay6OttUm2wbrgImyYZBHyZTUUYrXX31Ge2Uwew07HYsqh2uzdJeDBDwcVntxaHg3nIpv9Dyq/odVoiC4tUF/K+lgvKWANcrZ",\r
+ "timeout": 1000\r
+ }\r
+ },\r
+ {\r
+ "$type": "MediaCubeMetadata",\r
+ "server": {\r
+ "address": "http://10.10.1.27/services/rest/jobengine",\r
+ "userName": "mediacube",\r
+ "password": "Dn8t4gfHcK98o8hyPgLDhr5SgSji4JCxsfpMJsODikUp3nXgrM0UNCi45lLAK8ZOnmEneO44P9qpJ4QDqhctN6MxZodjJgdZTyoZKmSa+ECzEzLr/wPYNgxVaXrVotEy",\r
+ "timeout": 1000\r
+ }\r
+ }\r
+ ],\r
+ "targets": [\r
+ {\r
+ "label": "Archiválás",\r
+ "processor": "FXPTargetProcessor",\r
+ "outputFormat": "%ID%",\r
+ "tag": "Archiválás",\r
+ "saveArchiveMetadata": true,\r
+ "deleteAfterCopy": false,\r
+ "temporaryCopy": true,\r
+ "killDateDays": 5,\r
+ "remote": {\r
+ "address": "ftp://10.10.1.100:21/ARCHIVE/TESZT",\r
+ "userName": "mediacube",\r
+ "password": "Dn8t4gfHcK98o8hyPgLDhr5SgSji4JCxsfpMJsODikUp3nXgrM0UNCi45lLAK8ZOnmEneO44P9qpJ4QDqhctN6MxZodjJgdZTyoZKmSa+ECzEzLr/wPYNgxVaXrVotEy",\r
+ "timeout": 1000\r
+ }\r
+ }\r
+ ]\r
+}\r
{\r
"title": "Playout_NLE",\r
- "active": true,\r
+ "active": false,\r
"startInTray": false,\r
"enableCustomMetadataId": true,\r
"player": {\r
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>\r
</PropertyGroup>\r
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">\r
- <OutputPath>bin\x64\Release\</OutputPath>\r
+ <OutputPath>..\bin\Maestro\x64\Release\</OutputPath>\r
<DefineConstants>TRACE</DefineConstants>\r
<Optimize>true</Optimize>\r
<DebugType>pdbonly</DebugType>\r
<None Include="Configuration\-configuration-transcoder.json">\r
<CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
</None>\r
+ <None Include="Configuration\configuration-studio.json">\r
+ <CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
+ </None>\r
<None Include="Configuration\global.json">\r
<CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
</None>\r
<None Include="Configuration\-configuration-sxs.json">\r
<CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
</None>\r
- <None Include="Configuration\configuration-studio.json">\r
+ <None Include="Configuration\configuration-studio1.json">\r
<CopyToOutputDirectory>Always</CopyToOutputDirectory>\r
</None>\r
</ItemGroup>\r