Page 1 of 1

Get Missing Subtitles --q Argument

Posted: 14 Jun 2015, 00:23
by shenlong55
I'm having trouble finding information on using the CLI to search for subtitles by name. My batch file works fine if it it finds it by hash. But if it fails to find it by hash I get an error.

"Search by name failed: java.lang.String cannot be cast to java.util.List"

This is what the filebot portion of my script looks like with the variables all filled in...

start "" /B /wait "c:\Program Files\FileBot\filebot.exe" -get-missing-subtitles "C:\Users\Shenlong\Documents\Downloads\complete\shows\Marvels Agent Carter S01E08 720p WEB-DL DD5 1 H 264-Coo7" --q "Marvels Agent Carter S01E08 720p WEB-DL DD5 1 H 264-Coo7" --lang en --output srt --encoding utf8 -non-strict

If I remove the quotes from the portion after --q then it doesn't give me an error anymore, but it also doesn't find anything. I'm really just trying to find out how the --q argument is supposed to work. It seems like I should be able to pass a string as movie/show titles often have spaces in them, so I wouldn't want to search for each word of a title individually.

If anyone could point out what I'm doing wrong here I would greatly appreciate it.

Re: Get Missing Subtitles --q Argument

Posted: 14 Jun 2015, 16:37
by rednoah
You can only force the movie / series name with the --q option.

e.g.

Code: Select all

--q "Marvels Agent Carter"

Code: Select all

--q "Jurassic Park (1993)"

For -get-missing-subtitles calls the --q option is rather useless. You shouldn't ever need it really...

Re: Get Missing Subtitles --q Argument

Posted: 14 Jun 2015, 17:54
by shenlong55
Ah, I see. I thought --q was necessary to search by name. I guess it just uses the file name to search by name without the --q argument then?

Thanks for the help!

Re: Get Missing Subtitles --q Argument

Posted: 14 Jun 2015, 18:17
by rednoah
Yes. It'll always default to "Search By Name" if "Search By Hash" doesn't yield any results and will auto-detect all the required information from the filename and metadata itself.