Request Type:
BUG / NEW FEATURE - Bug
MCEBuddy Version and Type (32bit or 64bit): - 64
Operating System and Type (32bit or 64bit): - 64
Summary of the problem or suggestion: It seems like the the software is truncating the command sent via the PostCustomCommandParameters at the first space in the %destinationpath% variable. This is shown in the following excerpt from the log.
2019-03-17T04:16:37 MCEBuddy.Transcode.CustomCommand --> Custom command parameters read ->
PostCustomCommandPath = c:\wmcscript\runshowremoversubdir.bat
PostCustomCommandParameters = ""%destinationpath%""
PostCustomCommandHangPeriod = 0
PostCustomCommandCritical = False
PostCustomCommandUISession = False
PostCustomCommandShowWindow = True
PostCustomCommandExitCodeCheck = False
2019-03-17T04:16:37 MCEBuddy.Transcode.CustomCommand --> About to run custom command with parameters:
PostCustomCommandPath = c:\wmcscript\runshowremoversubdir.bat
PostCustomCommandParameters = ""P:\Recorded TV\Processed\TV\Protected\Rock Legends""
PostCustomCommandHangPeriod = 0
PostCustomCommandCritical = False
PostCustomCommandUISession = False
PostCustomCommandShowWindow = True
PostCustomCommandExitCodeCheck = False
2019-03-17T04:16:37 MCEBuddy.AppWrapper.Base --> Launching process c:\wmcscript\runshowremoversubdir.bat
2019-03-17T04:16:37 MCEBuddy.AppWrapper.Base --> Process arguments ""P:\Recorded TV\Processed\TV\Protected\Rock Legends""
2019-03-17T04:16:37 MCEBuddy.AppWrapper.Base --> UI Session Admin Process : False
2019-03-17T04:16:37 MCEBuddy.AppWrapper.Base --> Setting process priority to Idle
2019-03-17T04:16:37 MCEBuddy.AppWrapper.Base --> c:\wmcscript>echo on
2019-03-17T04:16:37 MCEBuddy.AppWrapper.Base --> c:\wmcscript>C:\WMCScript\ReadWMCBackup.pl
...
2019-03-17T04:16:38 MCEBuddy.AppWrapper.Base --> c:\wmcscript>C:\WMCScript\ShowRemoverSubDir.pl ""P:\Recorded
2019-03-17T04:16:38 MCEBuddy.AppWrapper.Base --> Name "main::nothing" used only once: possible typo at C:\WMCScript\ShowRemoverSubDir.pl line 88.
Steps to replicate the bug: Use a post custom command with a destinationpath that contains spaces.
Screenshots: I have attached an example log.
Thanks!
Rock Legends_AXSTV_2019_03_17_03_29_00.wtv-Move Protected TV-2019-03-17T04-15-24.7126063-04-00.log (1.1 MB)