Page 1 of 1
-get-subtitles on non-existing file => No missing subtitles
Posted: 03 May 2016, 09:30
by viking
If I run the command:
Code: Select all
filebot.cmd -get-subtitles "PathtoFile" -non-strict
on a file that does not exist,
I get the response " No missing subtitles".
Shouldn't there be an error instead, like "file does not exist"?
Re: -get-subtitles on non-existing file => No missing subtit
Posted: 03 May 2016, 10:57
by rednoah
No Files => No Missing Subtitles
I guess it's an issue. I don't plan on double checking that your arguments make sense though. If the CLI is called with arguments that don't make sense, then the result may also be something that doesn't make sense.

Re: -get-subtitles on non-existing file => No missing subtit
Posted: 03 May 2016, 17:38
by viking
Well, it also thinks that there are no missing subtitles if the extension is missing. For example:
Code: Select all
filebot.cmd -get-subtitles "Path\somefile" -non-strict
=> No missing subtitles
but:
Code: Select all
filebot.cmd -get-subtitles "Path\somefile.avi" -non-strict
=> No matching subtitles found: Path\somefile.avi
Shouldn't both cases give "No matching subtitles found" (unless something is found for "somefile" of course) ?
Re: -get-subtitles on non-existing file => No missing subtit
Posted: 03 May 2016, 18:18
by rednoah
1.
Specifying non-existent / non-video paths is the same as not specifying anything.
2.
If you pass a video file (existent or not) then it will probably fail at a latter point.