[script] [movie.nfo] change language

Any questions? Need some help?
Post Reply
Power User
Posts: 1050
Joined: 15 May 2014, 16:17

[script] [movie.nfo] change language

Post 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? ... _key=(your key here)
2nd http://api.themoviedb.org/3/movie/9385? ... _key=(your key here)

any other ways to change language then e.g. "--lang da" from CLI ?
User avatar
The Source
Posts: 19156
Joined: 16 Nov 2011, 08:59
Location: Taipei

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply