Collection language sometimes wrong
Posted: 24 Jun 2021, 11:10
Here's my actual script:
BTW I'm seeing in certain movies that I request italian infos and the Collection name is retrieved in english.
fObviously checking on tmdb the collection is translated and for the actual example the italian translation is not touched from 2016
https://www.themoviedb.org/collection/1 ... on/changes
how can be resolved?
are there some cache issue or something similar?
here's a couple of screens: https://imgur.com/a/HdjbNi0
thx
Code: Select all
{f[0..1]}/
{
String x = self.collection ?: n;
x = x.charAt(0)
ArrayList<String> array = new ArrayList<String>()
array.add('1')
array.add('2')
array.add('3')
array.add('4')
array.add('5')
array.add('6')
array.add('7')
array.add('8')
array.add('9')
array.add('0')
array.add('[')
array.add('.')
array.add('(')
if ( array.contains(x))'#' else x}
/{ny.replace(':','').replace('?','')}
{if (self.collection > '') (' [' + collection.replace(':','').replace('?','') + ']') else ''}
/ {n.replace(':','').replace('?','') /*n.replaceFirst(/^(?i)(The|)\s(.+)/, /$2, $1/)*/} ({y})
{
ArrayList<String> array = new ArrayList<String>()
array.add('VERSIONE INTEGRALE');
array.add('EXTENDED');
array.add('ULTIMATE EDITION');
array.add('DIRECTOR\'S CUT');
array.add('UNRATED');
for (int i=0; i < array.size(); i++){
if (fn.contains(array.get(i))){
return ' [' + array.get(i) + '] '
}
}
}
[{if (source != '') source else ''}{if (vf != '') ' ' + vf else ''}
{if (vc == 'x265' || vc == 'HEVC') ' HEVC' else if (vc == 'AVC') ' x264' else ' '+vc}] {if(audioLanguages != '') '[' + audioLanguages.collect { i -> "$i" }.join('+').upper().replace('ZHO', 'CHI') + ']'}
fObviously checking on tmdb the collection is translated and for the actual example the italian translation is not touched from 2016
https://www.themoviedb.org/collection/1 ... on/changes
how can be resolved?
are there some cache issue or something similar?
here's a couple of screens: https://imgur.com/a/HdjbNi0
thx