I was having inconsistent behavior using the export-to-ipod-ffmpeg profile using Filewatcher. I think I found what might be causing the issue but I haven't done any coding in javascript so I'm looking for confirmation. I ended up just stepping through one of the dvr-ms to mp4 conversions step by step at the command line.
When I execute the following command line:
C:\windows\system32\cscript.exe "c:\program files\dvrmstoolbox\scripts\addToItunes.js" "c:\Users\Public\DvrmsToolbox\Output\The Suite Life of Zack & Cody - The Suite Life Goes Hollywood.mp4" 3 "The Suite Life of Zack & Cody" "The Suite Life Goes Hollywood" "2007-04-20T00:00:00Z"
I get a runtime error - (37,2) Microsoft Jscript runtime error: Object required
I was able to troubleshoot that the script works correctly if you remove two characters from the the filename.
C:\windows\system32\cscript.exe "c:\program files\dvrmstoolbox\scripts\addToItunes.js" "c:\Users\Public\DvrmsToolbox\Output\The Suite Life of Zack & Cody - The Suite Life Goes Hollywo.mp4" 3 "The Suite Life of Zack & Cody" "The Suite Life Goes Hollywood" "2007-04-20T00:00:00Z"
Is there a limitation in pathname / filename? (e.g. maximum number of characters?) If not, is there a way to get around it with some added coding in the script?