-get-subtitles on non-existing file => No missing subtitles

All your suggestions, requests and ideas for future development
Post Reply
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

-get-subtitles on non-existing file => No missing subtitles

Post 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"?
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: -get-subtitles on non-existing file => No missing subtit

Post 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. :D
:idea: Please read the FAQ and How to Request Help.
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

Re: -get-subtitles on non-existing file => No missing subtit

Post 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) ?
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: -get-subtitles on non-existing file => No missing subtit

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply