[Resolved]UFC Script no longer working after Filebot +v4.1
Posted: 28 Oct 2014, 00:40
I have a UFC script that runs automatically after SABnzbd downloads a UFC file. This is the first time since updating my Filebot to +v4.1 that I've used it and I can't figure out what is wrong. I'd greatly appreciate it if someone could help me figure this out.
Version: Windows 7, Filebot 4.5 (x64), JRE 8.0u25 (x64)
Sysinfo: http://pbrd.co/1v6BglX
My script:
What I did: Since it failed to process the file in SABnzbd, I am now trying to run the script using CLI. At first, I was using Filebot v4.1, but then updated to the latest version of Filebot and JRE 8 to try and fix the issue. The file I am trying to process is found in "D:\UFC_Manual".
Error:
Version: Windows 7, Filebot 4.5 (x64), JRE 8.0u25 (x64)
Sysinfo: http://pbrd.co/1v6BglX
My script:
Code: Select all
// PERSONALIZED SETTINGS
def movieDir = new File("D:/UFC_Manual")
def movieFormat = "T:/UFC/{movie}/{movie}"
// RENAME/MOVE/CLEAN
movieDir.getFolders{ it.hasFile{ it.isVideo() } }.each{ dir ->
println "Processing $dir"
def files = dir.listFiles{ it.isVideo() }
// SORT UFC
def paths = '/' + rename(file:files, db:'tmdb', format:movieFormat) + '/'
//def Film = paths.split("\\\\")
//println Film + "this is Film Value"
//println Film[2] + "This is Film Array value"
//def fullpath = 'T:/UFC/' + Film[2]
// CLEAN FOLDER
executeScript('fn:cleaner', [:], [movieDir])
}
Error:
Code: Select all
C:\Users\Corruption>filebot -script "C:\MediaCenter\Scripts\Filebot\UFC_watched_
process.groovy"
FileNotFoundException: C:\MediaCenter\Scripts\Filebot\UFC_watched_process.groovy
java.io.FileNotFoundException: C:\MediaCenter\Scripts\Filebot\UFC_watched_proces
s.groovy
at net.filebot.cli.ArgumentProcessor$DefaultScriptProvider.getScriptLoca
tion(ArgumentProcessor.java:173)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:92)
at net.filebot.Main.main(Main.java:183)
Failure (°_°)
Launch4j: Failed to run the given command.