mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-04 16:35:08 -05:00
* added now script property
This commit is contained in:
parent
f9da8f4567
commit
f7a7866e23
@ -178,7 +178,7 @@ public class CmdlineOperations implements CmdlineInterface {
|
||||
}
|
||||
|
||||
if (strict && seriesNames.size() > 1) {
|
||||
throw new Exception("Handling multiple shows requires non-strict matching");
|
||||
throw new Exception("Processing multiple shows at once requires -non-strict");
|
||||
}
|
||||
|
||||
if (seriesNames.size() == 0) {
|
||||
|
@ -19,6 +19,7 @@ import java.io.PrintStream;
|
||||
import java.io.StringWriter;
|
||||
import java.net.Socket;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.EnumMap;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
@ -172,6 +173,10 @@ public abstract class ScriptShellBaseClass extends Script {
|
||||
return System.console();
|
||||
}
|
||||
|
||||
public Date getNow() {
|
||||
return new Date();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object run() {
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user