From a2e36c51733b94a9e693e88034b5bab48a2cf6dc Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 5 Feb 2013 15:44:18 +0000 Subject: [PATCH] * don't keep extracted files even in HARDLINK mode * fix matching issues --- website/data/query-blacklist.txt | 1 + website/scripts/utorrent-postprocess.groovy | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/website/data/query-blacklist.txt b/website/data/query-blacklist.txt index b8311419..dad730e6 100644 --- a/website/data/query-blacklist.txt +++ b/website/data/query-blacklist.txt @@ -192,6 +192,7 @@ TPB TRUEFRENCH TS TSXVID +tvp ultimate.edition UNCUT unrated diff --git a/website/scripts/utorrent-postprocess.groovy b/website/scripts/utorrent-postprocess.groovy index e0f1d492..05e4ce94 100644 --- a/website/scripts/utorrent-postprocess.groovy +++ b/website/scripts/utorrent-postprocess.groovy @@ -264,7 +264,7 @@ if (gmail) { } } }, - messagemimetype: "text/html", + messagemimetype: 'text/html', to: tryQuietly{ mailto } ?: gmail[0] + '@gmail.com', // mail to self by default user: gmail[0], password: gmail[1] ) @@ -272,7 +272,7 @@ if (gmail) { // clean empty folders, clutter files, etc after move if (clean) { - if ('COPY'.equalsIgnoreCase(_args.action) && extractedFiles?.size() > 0) { + if (['COPY', 'HARDLINK'].find{ it.equalsIgnoreCase(_args.action) } && extractedFiles?.size() > 0) { println 'Clean temporary extracted files' // delete extracted files extractedFiles.each{