Page 1 of 1

Renaming with country specific certification

Posted: 18 Mar 2017, 06:13
by Popavich
Hi there,

I'm just starting to get my head around the power and flexibility of Filebot, and I'm wondering whether it's possible to specify a specific country to get the certification rating for a specific country?

At the moment I'm just using the GUI and have a set format of:

Code: Select all

E:/Movie Library/{certification}/{n} ({y})
This works well, but it pulls the MPAA (American) certification rating, which doesn't always line up to Australia (where I am). For example a movie that might be rated PG-13 in the US, may be rated M here in Oz.

Is this possible? Any pointers would be appreciated.

Cheers
Popavich

Re: Renaming with country specific certification

Posted: 18 Mar 2017, 06:47
by rednoah
Presumably, the Land of Oz refers to Australia. :lol:


Here's the solution:

Code: Select all

info.certifications.AU

If you click Image then you'll see a reference for all the bindings:

Code: Select all

info.certifications	{US=PG-13, FI=K-13, PT=M/6, IT=T, FR=U, CH=12, CA=PG, SE=11, NL=12, DK=15, BR=10, ZA=13M-LV, CZ=U, BE=12-KT, GR=Κ-13, HU=16, BG=PG-13, KR=12, AU=M, NZ=M, KZ=Б14, ES=7, DE=12, GB=12A}
info.certifications.DE	12
Image

Re: Renaming with country specific certification

Posted: 18 Mar 2017, 09:56
by Popavich
Awesome! Works perfectly (as expected).

Many thanks!

Re: Renaming with country specific certification

Posted: 15 May 2020, 13:13
by Popavich
3 years on, and I still have a bit of a niggling problem with this. A number of movies can't seem to return a certification for Australia when using TheMovieDB (using OMDb doesn't return any at all).

Example below, all the Saw movies in the blue box returned a certification, while the ones in the red box didn't.
Image

The format I'm using is

Code: Select all

M:/_Movie Library Renamed/{info.certifications.AU}/	{n.colon(' - ')} ({y})/	{n.colon(' - ')} ({y}){' CD'+pi}{subt}
I can find the details on the site of the official government agency that classifies content in Australia, but FileBot can't source it using TheMovieDB.

Any clever suggestions would be greatly appreciated.

Re: Renaming with country specific certification

Posted: 15 May 2020, 14:25
by rednoah
1.
Please enter the missing information into TheMovieDB, so that it may work better for you yourself and the next guy:
https://www.themoviedb.org/movie/11917- ... uage=en-US



2.
As for nifty format magic, you could come up with your own default value:

Code: Select all

{any{info.certifications.AU}{'MISSING CERTIFICATION'}}