spoken_languages

All your suggestions, requests and ideas for future development
Post Reply
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

spoken_languages

Post 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)
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: spoken_languages

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