* support artwork lookup for non-english locales
@see http://www.filebot.net/forums/viewtopic.php?f=6&t=812
This commit is contained in:
parent
da6da29c7b
commit
e997fe1e82
|
@ -186,7 +186,7 @@ groups.each{ group, files ->
|
||||||
dest.mapByFolder().each{ dir, fs ->
|
dest.mapByFolder().each{ dir, fs ->
|
||||||
_log.finest "Fetching artwork for $dir from TheTVDB"
|
_log.finest "Fetching artwork for $dir from TheTVDB"
|
||||||
def sxe = fs.findResult{ eps -> parseEpisodeNumber(eps) }
|
def sxe = fs.findResult{ eps -> parseEpisodeNumber(eps) }
|
||||||
def options = TheTVDB.search(config.name)
|
def options = TheTVDB.search(config.name, _args.locale)
|
||||||
if (options.isEmpty()) {
|
if (options.isEmpty()) {
|
||||||
_log.warning "TV Series not found: $config.name"
|
_log.warning "TV Series not found: $config.name"
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue