"Failed To Detect Query for files" Error
Posted: 27 Mar 2014, 21:35
I have an automated script set up to automatically move files from a server to local now. It works correctly for many of my shows - Space Dandy and arpeggio of blue steel both worked correctly. When I call the script, it correctly moves Space Dandy and Arpeggio of Blue steel, but the show Noragami isn't recognized.
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:
Where the script is:
This is using theTVDB, and when I search for Noragami, I get 1 show id, but multiple languages (The first to appear isn't english, but french) but even when I set --lang en, it doesn't find it either. When I go through the GUI to rename the file, it forces me to enter the show name as well. Curious as to the cause, or if you have any tips.
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)