From 1ed16c37f23e07248be284c915f49c57cb3d24dd Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 18 Jan 2013 11:05:27 +0000 Subject: [PATCH] * use easy-to-change triple-quotes for script template --- website/scripts/sorty.groovy | 8 ++++---- website/scripts/utorrent-postprocess.groovy | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/website/scripts/sorty.groovy b/website/scripts/sorty.groovy index 390279d8..570c4c3c 100644 --- a/website/scripts/sorty.groovy +++ b/website/scripts/sorty.groovy @@ -1,8 +1,8 @@ // PERSONALIZED SETTINGS -def episodeDir = "V:/in/TV" -def episodeFormat = "V:/out/TV/{n}{'/Season '+s}/{episode}" -def movieDir = "V:/in/Movies" -def movieFormat = "V:/out/Movies/{movie}/{movie}" +def episodeDir = '''V:/in/TV''' +def episodeFormat = '''V:/out/TV/{n}{'/Season '+s}/{episode}''' +def movieDir = '''V:/in/Movies''' +def movieFormat = '''V:/out/Movies/{movie}/{movie}''' // XBMC ON LOCAL MACHINE def xbmc = ['localhost'] // (use [] to not notify any XBMC instances about updates) diff --git a/website/scripts/utorrent-postprocess.groovy b/website/scripts/utorrent-postprocess.groovy index ed566dc3..548b3635 100644 --- a/website/scripts/utorrent-postprocess.groovy +++ b/website/scripts/utorrent-postprocess.groovy @@ -49,7 +49,7 @@ def forceAnime(f) { } def forceIgnore(f) { - tryQuietly{ ut_label } =~ /^(?i:Ebook|other|ignore)/ + tryQuietly{ ut_label } =~ /^(?i:ebook|other|ignore)/ }