diff --git a/website/base.css b/website/base.css index d00c8fdd..4976e2b6 100644 --- a/website/base.css +++ b/website/base.css @@ -4,14 +4,19 @@ body { background-color: #e6e6e6; } -a,acronym { +a, acronym { color: #5c7684; text-decoration: none; border: none; } +a.important { + border-bottom: thin dotted #FB9956; +} + a:hover { text-decoration: underline; + border-bottom: none; } a img { diff --git a/website/code.css b/website/code.css index 1024017d..7ff4e8d2 100644 --- a/website/code.css +++ b/website/code.css @@ -61,10 +61,10 @@ div.documentation { } div.documentation h4 { - margin: -5px -5px 5px -5px; + margin: -5px -5px 5px -5px; background-color: #DEE3E9; - border-bottom: 1px solid #9EADC0; - padding: 2px 5px; + border-bottom: 1px solid #9EADC0; + padding: 2px 5px; } div.documentation pre { diff --git a/website/data/shell/watcher.groovy b/website/data/shell/watcher.groovy index 3548f741..590148a1 100644 --- a/website/data/shell/watcher.groovy +++ b/website/data/shell/watcher.groovy @@ -1,8 +1,11 @@ -def dirs = args.getFolders() - // watch folders and print files that were added/modified (requires Java 7) -dirs.watch { println "Batch: " + it } // default commit delay is 5 minutes -dirs.watch { println "Quick: " + it }.setCommitDelay(100) // 100 ms commit delay +def watchman = args.getFolders().watch { changes -> + println "Processing $changes" + rename(file:changes, format:"/media/storage/files/tv/{n}{'/Season '+s}/{episode}") +} + +// process after 10 minutes without any changes to the folder +watchman.setCommitDelay(10 * 60 * 1000) println "Waiting for events" -console.readLine() +console.readLine() // keep running and watch for changes diff --git a/website/index.html b/website/index.html index a3e93ad4..0293a674 100644 --- a/website/index.html +++ b/website/index.html @@ -105,7 +105,7 @@
The project is continuously seeking for improvements, so anykind of feedback is more than welcome and if there's any questions or problems just start posting in the forums or check the FAQ. - We're social as well. Follow us on twitter or become a fan on facebook. + We're social as well. Follow us on twitter and become a fan on facebook.
diff --git a/website/naming.html b/website/naming.html index 624fb8c1..cb97fa88 100644 --- a/website/naming.html +++ b/website/naming.html @@ -83,7 +83,7 @@You can easily define your own episode naming scheme. It uses Groovy expressions, which means that you can do pretty much anything, especially if you know a little bit about programming. - You even get media info bindings. + You even get media info bindings. You can find predefined format expressions for all kinds of scenarios in the forums. Ready for you to just copy & paste.
@@ -168,17 +168,17 @@
- Need some help getting started? Check the forums. + Need some help getting started? Check the forums.