utorrent-postprocess.groovy errors..

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
Posts: 3
Joined: 24 Oct 2012, 15:38

utorrent-postprocess.groovy errors..

Post by larza » 29 Oct 2012, 09:29


I keep getting the following errors when running this script through filebot:

Code: Select all

MissingPropertyException: No such property: ut_title for class: Script3
groovy.lang.MissingPropertyException: No such property: ut_title for class: Script3
        at Script3.run(Script3.groovy:184)
        at net.sourceforge.filebot.cli.ScriptShell.evaluate(Unknown Source)
        at net.sourceforge.filebot.cli.ScriptShell.runScript(Unknown Source)
        at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
        at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (?_?)
Does not seem to impact anything except not sending email.. Any idea how to fix these errors?

User avatar
The Source
Posts: 16979
Joined: 16 Nov 2011, 08:59
Location: Taipei

Re: utorrent-postprocess.groovy errors..

Post by rednoah » 29 Oct 2012, 09:54

Well, I suppose you're not passing in ut_title as utorrent would do. Just add --def ut_title=something.

I'll add this patch some other time to make it figure out something by itself if you're using it in standalone:

Code: Select all

def renameLog = getRenameLog()
def emailTitle = tryQuietly { ut_title } ?: input*.dir.unique()

	subject: "[FileBot] ${emailTitle}",
	message: XML {
		html {
			body {
				p("FileBot finished processing ${emailTitle} (${renameLog.size()} files).");
				hr(); table {
PS: You can use filebot -script svn:utorrent-postprocess ... to run with this patch right now.
:idea: Please read the FAQ and How to Request Help.

Post Reply