mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-11 05:48:01 -05:00
* force people to use the suball script in order to avoid abuse
This commit is contained in:
parent
a04e263c30
commit
9eff3fa702
@ -55,8 +55,11 @@ public class ArgumentProcessor {
|
||||
// execute CLI operations
|
||||
if (args.script == null) {
|
||||
// sanity checks
|
||||
if (args.recursive && (args.getSubtitles || args.getMissingSubtitles)) {
|
||||
throw new CmdlineException("-get-subtitles -r has been disabled due to abuse.");
|
||||
if (args.getSubtitles) {
|
||||
throw new CmdlineException("`filebot -get-subtitles` has been disabled due to abuse. Please see http://goo.gl/G9Yf2Y for details.");
|
||||
}
|
||||
if (args.getMissingSubtitles && args.recursive) {
|
||||
throw new CmdlineException("`filebot -get-missing-subtitles -r` has been disabled due to abuse. Please see http://goo.gl/G9Yf2Y for details.");
|
||||
}
|
||||
|
||||
// file operations
|
||||
|
Loading…
Reference in New Issue
Block a user