Page 1 of 1

[SOLVED]Omit period and []

Posted: 08 Feb 2016, 02:39
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.

Re: Omit period and []

Posted: 08 Feb 2016, 08:15
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}

Re: Omit period and []

Posted: 08 Feb 2016, 13:11
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.

Re: [SOLVED]Omit period and []

Posted: 08 Feb 2016, 17:14
by rednoah
Once you're done, please share and explain your format, so that the next guy can learn from your example. ;)

Re: [SOLVED]Omit period and []

Posted: 05 Mar 2016, 20:09
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

Re: [SOLVED]Omit period and []

Posted: 17 Mar 2017, 08:00
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

Re: [SOLVED]Omit period and []

Posted: 17 Mar 2017, 12:30
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