Page 1 of 1

spoken_languages

Posted: 15 May 2014, 16:26
by kim
How can i get /grab the "spoken_languages" aka "Languages" into the movie.nfo

e.g. http://www.themoviedb.org/movie/127846
http://api.themoviedb.org/3/movie/tt221 ... d45be99f13

"Languages: da, de, en, pl"

do i mod htpc.groovy or if not can you make it part of the program thx ?

NM i got it :D

languages(i.spokenLanguages)
or
languages(i.spokenLanguages?.size() > 0 ? i.spokenLanguages[0] : null)
languages(i.spokenLanguages?.size() > 0 ? i.spokenLanguages[1] : null)
languages(i.spokenLanguages?.size() > 0 ? i.spokenLanguages[2] : null)
languages(i.spokenLanguages?.size() > 0 ? i.spokenLanguages[3] : null)

Re: spoken_languages

Posted: 15 May 2014, 17:16
by rednoah
I could, but what's the standard for defining spoken languages in the nfo xml? Point me to some official docs that define a standard for spoken language from Plex or XBMC and I'll have a look.