diff --git a/source/net/sourceforge/filebot/cli/ArgumentBean.java b/source/net/sourceforge/filebot/cli/ArgumentBean.java index 3568b568..db4f4c9d 100644 --- a/source/net/sourceforge/filebot/cli/ArgumentBean.java +++ b/source/net/sourceforge/filebot/cli/ArgumentBean.java @@ -52,9 +52,6 @@ public class ArgumentBean { @Option(name = "--encoding", usage = "Character encoding", metaVar = "[UTF-8, windows-1252, GB18030, etc]") public String encoding; - @Option(name = "--log", usage = "Log level", metaVar = "[all, config, info, warning]") - public String log = "all"; - @Option(name = "-list", usage = "Fetch episode list") public boolean list = false; @@ -64,6 +61,9 @@ public class ArgumentBean { @Option(name = "-script", usage = "Run Groovy script") public String script = null; + @Option(name = "--log", usage = "Log level", metaVar = "[all, config, info, warning]") + public String log = "all"; + @Option(name = "-open", usage = "Open file in GUI", metaVar = "file") public boolean open = false; diff --git a/website/base.css b/website/base.css index e9822f74..c5be6b89 100644 --- a/website/base.css +++ b/website/base.css @@ -18,6 +18,13 @@ a img { border: none; } +h3 { + font-size: 14px; + margin-top: 25px; + margin-left: 15px; + margin-bottom: -8px; +} + .section h2.reference { padding-top: 25px; } diff --git a/website/cli.html b/website/cli.html index dd9566a4..6f1cdc24 100644 --- a/website/cli.html +++ b/website/cli.html @@ -66,6 +66,7 @@ tv shows and movies, fetching subtitles or checking sfv files.

Examples

+

Rename

filebot -rename path/to/episodes Rename given episodes or movies. @@ -86,6 +87,7 @@ filebot -rename "movie.avi" -q Avatar --db OpenSubtitles Rename a single movie looking up movie info via file hash or using the given movie title.

+

Fetch Subtitles

filebot -get-subtitles path/to/episodes Fetch subtitles for the given files. Lookup matching subtitles via file hash. @@ -94,6 +96,7 @@ filebot -get-subtitles path/to/movie --q Avatar --lang zh --output srt --encoding utf8 Fetch subtitles and force output format. Lookup subtitles via file hash and given search query.

+

File Verification

filebot -check path/to/files Compute SFV file and automatically determine output file. @@ -106,10 +109,19 @@ filebot -check path/to/checksum.md5 Check file integrity using the given checksum file.

+

Scripting

filebot -list --db thetvdb --q Dexter --format "{s}x{e.pad(2)} {t}" Fetch episode list and print to console.

+

+ filebot -mediainfo path/to/files --format "{fn} {resolution} {vc} {af}" + Read media info and print to console. +

+

+ filebot -script "path/to/script.groovy" args... + Execute custom Groovy script. +

Argument Reference @@ -195,6 +207,16 @@ print episode list + + -mediainfo + print media info + + + + -script + execute script + + --log log level diff --git a/website/index.html b/website/index.html index 94c03b0f..3ac8ee0a 100644 --- a/website/index.html +++ b/website/index.html @@ -88,7 +88,7 @@