This project has moved and is read-only. For the latest updates, please go here.

Need Help with custom rename.

Jul 28, 2015 at 10:50 PM
Edited Jul 28, 2015 at 10:52 PM
I have a custom rename that looks like this.

%ismovie%<%showname% (%airyear%) -%airingdbid%-0,%issport%<%showname%.%recordyear%%recordmonth%%recordday%.%recordhour%%recordminute% -%airingdbid%-0,%showname%.S%season%##E%episode%##.%episodename% -%airingdbid%-0>>

the input files looks like this.
CriminalMinds-S07E04-Painless-19818952-0.mpg"

the renamed file looks like this.
CriminalMinds.S07E04.Painless__-19818952-0 -19818952-0__.mpg


Why is it not renaming it correctly maybe my syntax is wrong?
Jul 28, 2015 at 11:08 PM
Check the logs. Likely it can't match the name on the internet for the show. Criminal Minds vs CriminalMinds

Hence it takes the episode name as the second part of the title as is

Jul 28, 2015 at 11:09 PM
You can setup a metadata correction to change the title from CriminalMind to Criminal Mind and that should solve your issue

Jul 28, 2015 at 11:13 PM
Edited Jul 28, 2015 at 11:14 PM
I see what is wrong you added some stuff for HDHOMERUN DVR. ...even though I have an XML file. So that is messing up the rename. I will use the previous version... until this is corrected.

INFORMATION> 2015-07-28T14:23:28 MCEBuddy.MetaData.FileExtractMetadata --> Extracting Alt XML Tags
2015-07-28T14:23:28 MCEBuddy.MetaData.FileExtractMetadata --> Extracting ICETV meta data
2015-07-28T14:23:28 MCEBuddy.MetaData.FileExtractMetadata --> Extracting SageTV XML meta data
2015-07-28T14:23:28 MCEBuddy.MetaData.VideoMetaData --> Trying to match nPVR/SiliconDust series showname -> CriminalMinds-S07E04-Painless-19818952-0
2015-07-28T14:23:28 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted ->
Jul 28, 2015 at 11:25 PM
PS The previous Version MCEBuddy 2.4.3 64bit - 20150715 worked fine.
Jul 29, 2015 at 2:00 AM
Hmm, something's not right. It takes the details from the XML file first and if it can't find the XML then it falls back to name analysis.

Check your log file, is it processing the XML file? Some folks have been facing issues because of the XML file links to SourceForge and it's down causing the XML to fail.

Jul 29, 2015 at 2:09 AM
No problem with the MCEBuddy 2.4.3 64bit - 20150615 Release definitely a problem with the latest beta. The xml file is present and works with the older betas just not the newest. I backed off to 0615 because I also noticed you added an NPVR file check and it caused some problems too.

INFORMATION> 2015-07-28T16:26:11 MCEBuddy.Engine.ConversionJob --> Getting show information and banner from Internet sources
2015-07-28T16:26:11 MCEBuddy.MetaData.VideoMetaData --> Extracting metadata from file -> \NYPLAYER\SAGER\CriminalMinds-S07E06-Epilogue-19818954-0.mpg
INFORMATION> 2015-07-28T16:26:11 MCEBuddy.MetaData.FileExtractMetadata --> Extracting Alt XML Tags
2015-07-28T16:26:11 MCEBuddy.MetaData.FileExtractMetadata --> Extracting ICETV meta data
2015-07-28T16:26:11 MCEBuddy.MetaData.FileExtractMetadata --> Extracting SageTV XML meta data
2015-07-28T16:26:11 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted ->
Title: Criminal Minds
SubTitle: Epilogue
Jul 29, 2015 at 2:19 AM
Edited Jul 29, 2015 at 2:20 AM
As You can see the one that was wrong before worked with the 0615.



INFORMATION> 2015-07-28T18:16:57 MCEBuddy.MetaData.FileExtractMetadata --> Extracting Alt XML Tags
2015-07-28T18:16:57 MCEBuddy.MetaData.FileExtractMetadata --> Extracting ICETV meta data
2015-07-28T18:16:57 MCEBuddy.MetaData.FileExtractMetadata --> Extracting SageTV XML meta data
2015-07-28T18:16:57 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted ->
Title: Criminal Minds
SubTitle: Painless

Criminal Minds.S07E04.Painless -19818952-0.mpg
Jul 29, 2015 at 5:49 AM
Can you upload the XML file for a test please

Jul 29, 2015 at 8:13 PM
I uploaded it to your FTP site look in the NYPLAYER/SAGEXML folder ... I also uploaded the video with it and the log file that failed.
Jul 30, 2015 at 12:21 AM
Thanks for reporting this, the bug was fixed and the new build will be up today.
Marked as answer by rboy1 on 7/29/2015 at 4:21 PM
Jul 30, 2015 at 3:00 PM
Working great ... Thank You.
Marked as answer by nyplayer on 7/30/2015 at 7:00 AM