[SOLVED]Omit period and []

Support for Windows users
Post Reply
theobserver
Posts: 9
Joined: 06 Feb 2016, 20:20

[SOLVED]Omit period and []

Post by theobserver »

Hi all,

filebot is a very handy program and thank you 4 this.

I have one small question which i have not located in forum or manual (until now).

I use this format : {n} ({y}).({rating}).{genres}. {imdbid}
which gives this result : Trumbo (2015).(7.0).[Drama]. tt3203606

How should modify it to get this result ? : Trumbo (2015).(70).Drama. tt3203606

In short words i try to omit the period in the rating so from 7.0 to be 70
and the [] around genres so from [Drama] to be Drama

Can this be done?

Thank you for your time reading this.

Regards,
theobserver.
Last edited by theobserver on 08 Feb 2016, 13:11, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 23003
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Omit period and []

Post by rednoah »

0.
Learn from the examples:
viewtopic.php?f=5&t=2

Read the docs:
viewtopic.php?f=5&t=1895


1.
You have:

Code: Select all

.({rating})
You want:

Code: Select all

{".(${(rating*10).round()})"}
2.
You have:

Code: Select all

{genres}
You want:

Code: Select all

{genres ?: '[No Genre]'}
Or maybe:

Code: Select all

{'.'+genre}
:idea: Please read the FAQ and How to Request Help.
theobserver
Posts: 9
Joined: 06 Feb 2016, 20:20

Re: Omit period and []

Post by theobserver »

Much obliged RedNoah.

Although i had found many things from the examples i had not find these two.

Thank you much.

Regards,
theobserver.
User avatar
rednoah
The Source
Posts: 23003
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [SOLVED]Omit period and []

Post by rednoah »

Once you're done, please share and explain your format, so that the next guy can learn from your example. ;)
:idea: Please read the FAQ and How to Request Help.
theobserver
Posts: 9
Joined: 06 Feb 2016, 20:20

Re: [SOLVED]Omit period and []

Post by theobserver »

Sorry for my late reply ,but now i just saw your last message.

Well my format is :

Code: Select all

{n} ({y}){".(${(rating*10).round()})"}{'.'+genre}. {imdbid}
which gives this result:

Code: Select all

Avatar (2009).71.Action. tt0499549
Regards,
theobserver
theobserver
Posts: 9
Joined: 06 Feb 2016, 20:20

Re: [SOLVED]Omit period and []

Post by theobserver »

Hi again,

i am trying about 90 minutes to solve my questions by reading the forum but in vain.

I need a heads up.

My current setup is (as written above) :
{n} ({y}){".(${(rating*10).round()})"}{'.'+genre}. {imdbid}
which gives this :
Avatar (2009).71.Action. tt0499549

Question is:

1. I want to add the '3D HSBS' text at the movie filename so it become:
Avatar (2009).71.Action.3D HSBS. tt0499549

How can i achieve this?

2. Is there a way to add more than one genres. In this example i only get Action as genre

3. Is there a link where the syntax and abbreviations for filebot are explained? e.g. {n} = Movie name e.t.c.

Thank you for your time reading this.

Regards,
theobserver
User avatar
rednoah
The Source
Posts: 23003
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [SOLVED]Omit period and []

Post by rednoah »

1.
{s3d} and {genres} is probably what you're looking for.


2.
You will find lots of documentation here and here.

The in-app reference shows all the important top-level bindings:
Image
:idea: Please read the FAQ and How to Request Help.
Post Reply