in

andy vt's tools & blog

Flexibility isn't free

addtoitunes.js error

Last post 12-17-2007 6:32 PM by nik. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 12-17-2007 6:32 PM

    • nik
    • Top 25 Contributor
    • Joined on 02-18-2007
    • Posts 47

    addtoitunes.js error

    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?   

Page 1 of 1 (1 items)
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems