Renaming with country specific certification

All about user-defined episode / movie / file name format expressions
Post Reply
Popavich
Posts: 3
Joined: 18 Mar 2017, 04:44

Renaming with country specific certification

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

Re: Renaming with country specific certification

Post 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
:idea: Please read the FAQ and How to Request Help.
Popavich
Posts: 3
Joined: 18 Mar 2017, 04:44

Re: Renaming with country specific certification

Post by Popavich »

Awesome! Works perfectly (as expected).

Many thanks!
Popavich
Posts: 3
Joined: 18 Mar 2017, 04:44

Re: Renaming with country specific certification

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

Re: Renaming with country specific certification

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