Page 1 of 1

[script] [movie.nfo] change language

Posted: 05 May 2015, 21:23
by kim
Maybe a stupid question, but how do you change language?

when i use the "--lang da" in CLI it works with the "da" title/filename only but not e.g. the <plot></plot> aka "overview"
it still takes ALL the info from "en" (and yes there is data on both the "da" and "en")

it looks like filebot DL's 1st the "da" 2nd the "en" movie info (maybe the data get overwritten?)
1st http://api.themoviedb.org/3/movie/9385? ... a&api_key=(your key here)
2nd http://api.themoviedb.org/3/movie/9385? ... n&api_key=(your key here)


any other ways to change language then e.g. "--lang da" from CLI ?

Re: [script] [movie.nfo] change language

Posted: 06 May 2015, 05:59
by rednoah
The amc script does not pass along --lang and thus will always force English:

Code: Select all

fetchMovieArtworkAndNfo(dir, movie, movieFile, extras)
I guess I'll change it to adhere to --lang as well.

The artwork.tmdb does pass along --lang and thus if you can set the language preference via --lang option:

Code: Select all

fetchMovieArtworkAndNfo(dir, movie, dir.getFiles{ it.isVideo() }.sort{ it.length() }.reverse().findResult{ it }, true, override, _args.locale ?: Locale.ENGLISH)
EDIT: Changed with r2915.