1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -05:00

* 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

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