* support artwork lookup for non-english locales

@see http://www.filebot.net/forums/viewtopic.php?f=6&t=812
This commit is contained in:
Reinhard Pointner 2013-07-12 07:32:44 +00:00
parent da6da29c7b
commit e997fe1e82
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ groups.each{ group, files ->
dest.mapByFolder().each{ dir, fs ->
_log.finest "Fetching artwork for $dir from TheTVDB"
def sxe = fs.findResult{ eps -> parseEpisodeNumber(eps) }
def options = TheTVDB.search(config.name)
def options = TheTVDB.search(config.name, _args.locale)
if (options.isEmpty()) {
_log.warning "TV Series not found: $config.name"
return