1

Closed

Custom Naming Dates Resulting in Different Results

description

I have custom renaming turned on in my task adding the record date in a YYYYMMDD format to the end of the file.

I am also running a custom command out of another profile on the source same file which runs Comskip and copies the XML to the same directory as the rename target (as well as other things). The rename and copy of the XML file happens in a bat file using rename and robocopy.

My issue is that it seems like the renaming task from paragraph 1 is formatting the dates using lead 0's on the MMDDs whereas the same variables used in the custom command does not have lead 0's causing the XML to have a different filename and the commercial file is not recognized.

I believe that this is an issue. I can probably also work around it by sending the parameters separately and adding a lead 0 where necessary through a separate script, but I wanted to make you aware of the issue so you can correct it as you feel necessary. I have included my logs.

Here is some further information:
This seems to be an issue in:
2.4.1 beta 1
2.4.1 beta 2

The logs:
Jeopardy!_WXIXDT_2015_02_18_19_29_00.wtv-Plex TV-2015-02-19T19-27-28.0924453-05-00.log - contains post condition with naming as YYYYMD
Jeopardy!_WXIXDT_2015_02_18_19_29_00.wtv-Move Unprotected TV-2015-02-18T20-03-36.9454674-05-00.log - contains renaming with naming as YYYYMMDD - attached

Let me know if you would like any more information.

Jeopardy!_WXIXDT_2015_02_18_19_29_00.wtv-Plex TV-2015-02-19T19-27-28.0924453-05-00.log (cannot include all bc of size):
2015-02-19T21:27:31 MCEBuddy.Transcode.CustomCommand --> Custom command parameters read ->  
CustomCommandPath = c:\wmcscript\renamenmover.bat 
CustomCommandParameters = "%workingpath%\%originalfilename%.xml" "%showname%-S%season%##E%episode%##-%episodename%-%recordyear%%recordmonth%%recordday%.xml" "%workingpath%" "P:\Recorded TV\Processed\TV\%showname%" 
CustomCommandHangPeriod = 0 
CustomCommandCritical = False 
CustomCommandUISession = False 
CustomCommandShowWindow = True 
CustomCommandExitCodeCheck = False
2015-02-19T21:27:31 MCEBuddy.Transcode.CustomCommand --> About to run custom command with parameters: 
CustomCommandPath = c:\wmcscript\renamenmover.bat 
CustomCommandParameters = "%workingpath%\%originalfilename%.xml" "%showname%-S%season%##E%episode%##-%episodename%-%recordyear%%recordmonth%%recordday%.xml" "%workingpath%" "P:\Recorded TV\Processed\TV\%showname%" 
CustomCommandHangPeriod = 0 
CustomCommandCritical = False 
CustomCommandUISession = False 
CustomCommandShowWindow = True 
CustomCommandExitCodeCheck = False
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base --> Launching process c:\wmcscript\renamenmover.bat
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base --> Process arguments "c:\temp\MCEBuddy\working2\Jeopardy!_WXIXDT_2015_02_18_19_29_00.xml" "Jeopardy!-S2015E35-Stephanie Engel, Christina McTighe, Ravi Subramanian-2015218.xml" "c:\temp\MCEBuddy\working2" "P:\Recorded TV\Processed\TV\Jeopardy!"
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base --> UI Session Admin Process : False
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base --> Setting process priority to Idle
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base --> c:\wmcscript>echo on 
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base --> c:\wmcscript>ren "c:\temp\MCEBuddy\working2\Jeopardy!_WXIXDT_2015_02_18_19_29_00.xml" "Jeopardy!-S2015E35-Stephanie Engel, Christina McTighe, Ravi Subramanian-2015218.xml" 
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base --> c:\wmcscript>robocopy "c:\temp\MCEBuddy\working2" "P:\Recorded TV\Processed\TV\Jeopardy!" "*.xml" 
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base --> -------------------------------------------------------------------------------
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base -->    ROBOCOPY     ::     Robust File Copy for Windows                              
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base --> -------------------------------------------------------------------------------
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base -->   Started : Thu Feb 19 21:27:31 2015
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base -->    Source : c:\temp\MCEBuddy\working2\
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base -->      Dest : P:\Recorded TV\Processed\TV\Jeopardy!\
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base -->     Files : *.xml
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base -->        
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base -->   Options : /COPY:DAT /R:1000000 /W:30 
2015-02-19T21:27:31 MCEBuddy.AppWrapper.Base --> ------------------------------------------------------------------------------

file attachments

Closed May 30, 2015 at 7:33 PM by andrei_kr
Not Applicable

comments

RampantRedsFan wrote Feb 20, 2015 at 2:19 AM

Sorry meant to put this on MCE Buddy! Love the addin! Sorry!

wrote May 30, 2015 at 7:33 PM