Page 1 of 1

Fetching Movie Language and Genre?

Posted: 26 Feb 2016, 10:45
by denywinarto
Is it possible to mod the amc script to grab the language used by the movie?
I'm categorizing my library like this:
West
Asian
Hindi
Animation

And the only way to group them automatically is by querying media language, e.g :
If language is Hindi / Punjab , flag as Hindi
else if language is Chinese / Korean /Japanese flag as Asia

As for animation, if it detects genre as animation then flag as animation,

I've looked other option in imfb and tMDB, Country released is not as accurate as Language...
for instance,
https://www.themoviedb.org/movie/42323-tere-bin-laden

contains hi or hindi, so this will be flagged as india and moved to Hindi folder
thanks

Re: Fetching Movie Language and Genre?

Posted: 26 Feb 2016, 12:17
by rednoah
You can check movie info like production countries, spoken languages, genres, or media info like audio stream language. Maybe some combination of these.

You may want to use {languages} or {info.spokenLanguages}.

Re: Fetching Movie Language and Genre?

Posted: 28 Feb 2016, 04:05
by denywinarto
rednoah wrote:You can check movie info like production countries, spoken languages, genres, or media info like audio stream language. Maybe some combination of these.

You may want to use {languages} or {info.spokenLanguages}.
Ok gonna give it a try thanks :D
At least i know it's possible