CLI - Multiple CDs

Any questions? Need some help?
Post Reply
faniedry
Posts: 6
Joined: 30 Jan 2013, 08:37

CLI - Multiple CDs

Post by faniedry »

Hi There,

I'm trying to use the housekeeping.groovy script for renaming my movies, but I can't get the multiple CD parameter working.

This is my command and the error I get:

Code: Select all

filebot -script c:\scripts\housekeeping.groovy -extract -rename /Downloads/Movies/ --output /Downloads/Movies/ --format "Movies/{n} {y}/{n}({y}){" CD$pi"}" --db TheMovieDB
Press ENTER to abort
Exception in thread "Thread-3" org.codehaus.groovy.runtime.InvokerInvocationException: java.io.FileNotFoundException: C:\Program Files\FileBot\CD$pi}
It seems as if the quotations (" ") are in the wrong place.

Thanks in advance for any help ;)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: CLI - Multiple CDs

Post by rednoah »

Having a quick look I guess you're struggling with cmd arguments parsing and how to get things passed in correctly, i.e. escaping all the " in the format expression => Try \"

e.g. "This is a \"test\"" should pass this sentence as one argument and with the "test" intact.
http://filebot.sourceforge.net/forums/v ... 445&p=2936
:idea: Please read the FAQ and How to Request Help.
faniedry
Posts: 6
Joined: 30 Jan 2013, 08:37

[Solved] Re: CLI - Multiple CDs

Post by faniedry »

O wow, I should've known that, rookie mistake! :oops:

Thanks for the help!!
Post Reply