From bfb375228c38a7d4a942478af12d92d15f1e2b59 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 27 Jul 2012 02:28:48 +0000 Subject: [PATCH] * include language detection for subtitles --- website/scripts/utorrent-postprocess.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/scripts/utorrent-postprocess.groovy b/website/scripts/utorrent-postprocess.groovy index bd49719f..1322a75a 100644 --- a/website/scripts/utorrent-postprocess.groovy +++ b/website/scripts/utorrent-postprocess.groovy @@ -90,7 +90,7 @@ groups.each{ group, files -> // MOVIE MODE if (group.mov && !group.tvs) { - def dest = rename(file:files, format:'Movies/{n} ({y})/{n} ({y}){" CD$pi"}', db:'TheMovieDB') + def dest = rename(file:files, format:'Movies/{n} ({y})/{n} ({y}){" CD$pi"}{".$lang"}', db:'TheMovieDB') if (dest || failOnError) { dest.mapByFolder().each{ dir, fs -> println "Fetching artwork for $dir from TheMovieDB"