Package net.filebot.cli
Class ScriptShellBaseClass
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Script
net.filebot.cli.ScriptShellBaseClass
- All Implemented Interfaces:
GroovyObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
commit()
net.filebot.web.Series
detectAnime
(Object files) detectMovie
(File file, boolean strict) net.filebot.web.Series
detectSeries
(Object files) net.filebot.web.Series
detectSeries
(Object files, boolean anime) void
void
int
executeScript
(String input, List args) executeScript
(String input, Map bindings, List args) get_args()
get_def()
getApplyAction
(Object obj) getLog()
getMediaInfo
(File file, String format) getMediaInfo
(Map<String, ?> parameters) getMissingSubtitles
(Map<String, ?> parameters) getNow()
getRenameAction
(Object obj) getSubtitles
(Map<String, ?> parameters) net.filebot.util.TemporaryFolder
getTemporaryFolder
(String name) void
matchMovie
(String name) List
<?> List
<?> parallel
(Collection<Closure<?>> c) net.filebot.similarity.SeasonEpisodeMatcher.SxE
parseEpisodeNumber
(Object object) Retry given closure until it returns successfully (indefinitely if -1 is passed as retry count)run()
void
<T> T
showInputDialog
(Collection<T> options, String title, String message) void
tryLogCatch
(Closure<?> c) tryQuietly
(Closure<?> c) void
Methods inherited from class groovy.lang.Script
evaluate, evaluate, getBinding, getProperty, invokeMethod, print, printf, printf, println, println, run, setBinding, setProperty
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
-
Constructor Details
-
ScriptShellBaseClass
public ScriptShellBaseClass()
-
-
Method Details
-
runScript
- Throws:
Throwable
-
include
- Throws:
Throwable
-
executeScript
- Throws:
Throwable
-
executeScript
- Throws:
Throwable
-
parallel
- Throws:
Exception
-
parallel
- Throws:
Exception
-
tryQuietly
-
tryLogCatch
-
die
- Throws:
Throwable
-
die
- Throws:
Throwable
-
get_args
-
get_def
-
get_system
-
get_environment
-
get_build
-
getRenameLog
- Throws:
IOException
-
getPersistentRenameLog
- Throws:
IOException
-
commit
-
getLog
-
getConsole
-
getNow
-
getTemporaryFolder
-
help
-
run
-
getMediaInfo
- Throws:
Exception
-
detectSeries
- Throws:
Exception
-
detectAnime
- Throws:
Exception
-
detectSeries
- Throws:
Exception
-
parseEpisodeNumber
-
detectMovie
-
matchMovie
-
execute
- Throws:
Exception
-
XML
- Throws:
Exception
-
XML
-
telnet
- Throws:
IOException
-
wol
- Throws:
IOException
-
retry
public Object retry(int retryCountLimit, int retryWaitTime, Closure<?> c) throws InterruptedException Retry given closure until it returns successfully (indefinitely if -1 is passed as retry count)- Throws:
InterruptedException
-
rename
- Throws:
Exception
-
getSubtitles
- Throws:
Exception
-
getMissingSubtitles
- Throws:
Exception
-
check
- Throws:
Exception
-
compute
- Throws:
Exception
-
extract
- Throws:
Exception
-
zip
- Throws:
Exception
-
list
- Throws:
Exception
-
getMediaInfo
- Throws:
Exception
-
getRenameAction
-
getApplyAction
-
showInputDialog
- Throws:
Exception
-