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.