Fetching Movie Language and Genre?

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
denywinarto
Donor
Posts: 28
Joined: 30 Jul 2013, 01:15

Fetching Movie Language and Genre?

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

Re: Fetching Movie Language and Genre?

Post 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}.
:idea: Please read the FAQ and How to Request Help.
denywinarto
Donor
Posts: 28
Joined: 30 Jul 2013, 01:15

Re: Fetching Movie Language and Genre?

Post 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
Post Reply