From e9eeb7964e8067d7aa52d87fc87afcccd96b7413 Mon Sep 17 00:00:00 2001 From: "vasary.daniel" Date: Wed, 6 Apr 2022 08:41:34 +0000 Subject: [PATCH] #322 kimeneti almappa nagybetus git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C33133 --- client/MaestroShared/Configuration/ConfigurationInfo.cs | 1 + client/MaestroShared/Properties/AssemblyInfo.cs | 4 ++-- client/MaestroShared/Targets/UNCTargetProcessor.cs | 6 ++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/client/MaestroShared/Configuration/ConfigurationInfo.cs b/client/MaestroShared/Configuration/ConfigurationInfo.cs index e87587e0..0abf1da9 100644 --- a/client/MaestroShared/Configuration/ConfigurationInfo.cs +++ b/client/MaestroShared/Configuration/ConfigurationInfo.cs @@ -130,6 +130,7 @@ namespace MaestroShared.Configuration { public int SourceNexioKillDateDays { get; set; } public bool MoveToFolder { get; set; } public string ForceMediaType { get; set; } + public bool ForceUpperCaseSubFolderName { get; set; } //a dinamikusan generalt kimeneti mappa nevet nagybetusse konvertalja } public class Connection { diff --git a/client/MaestroShared/Properties/AssemblyInfo.cs b/client/MaestroShared/Properties/AssemblyInfo.cs index 23e2543d..5da145e3 100644 --- a/client/MaestroShared/Properties/AssemblyInfo.cs +++ b/client/MaestroShared/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.1.1.0")] -[assembly: AssemblyFileVersion("2.1.1.0")] +[assembly: AssemblyVersion("2.1.1.1")] +[assembly: AssemblyFileVersion("2.1.1.1")] diff --git a/client/MaestroShared/Targets/UNCTargetProcessor.cs b/client/MaestroShared/Targets/UNCTargetProcessor.cs index 1d33242a..e8b0a621 100644 --- a/client/MaestroShared/Targets/UNCTargetProcessor.cs +++ b/client/MaestroShared/Targets/UNCTargetProcessor.cs @@ -341,6 +341,12 @@ namespace MaestroShared.Targets { if (String.IsNullOrEmpty(Parameters.TargetConfig.SubFolderFormat)) return result; string subFolderName = Slash(GetDynamicText(Parameters.TargetConfig.SubFolderFormat)); + + //220406 #322 + if (Parameters.TargetConfig.ForceUpperCaseSubFolderName) { + subFolderName = subFolderName.ToUpper(); + } + string[] segments = subFolderName.Split(SLASH[0]); string[] formats = Parameters.TargetConfig.SubFolderFormat.Replace(BACKSLASH, SLASH).Split(SLASH[0]); for (int i = 0; i < segments.Length; i++) { -- 2.54.0