I receive a "Failed to detect query for files: ...Noragmi -12 [720p].mkv" error, where I don't receive this for any other files. I also see
Auto-detected query: []
rather than:
Auto-detected query: [Noragami]
When I call my script is when I get the issue:
Code: Select all
filebot -script "%scriptFile%" -non-strict > "%logFile%"
Where the script is:
Code: Select all
// ignore part files
def incomplete(f) { f.name =~ /[.]part/ }
def fileList = new ArrayList<File>()
/*
* Determine which files may be renamed
*/
animeStartDir.getFolders{ !it.hasFile{ incomplete(it) } && it.hasFile{ it.isVideo() } }.each{ dir ->
println "Processing $dir"
fileList.add(dir.listFiles{ it.isVideo() })
}
// Rename the files able to be renamed
rename(file:fileList, db:'TheTVDB', format:animeFormat)