请求类型:
BUG / 新功能 - Bug
MCEBuddy 版本及类型(32 位或 64 位): - 64
操作系统及类型(32 位或 64 位): - 64
问题或建议概述:
软件似乎会在 %destinationpath% 变量中遇到第一个空格时截断通过 PostCustomCommandParameters 发送的命令。如下日志片段所示。
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.
重现步骤:
使用一个包含空格的目标路径作为后置自定义命令。
截图:
我已附上示例日志。
谢谢!
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)