Page 1 of 1
one digit rating name
Posted: 15 Mar 2024, 09:05
by TAMASTEDA
lately i have this bug. i use this script {genre}/{rating}-{y}/{n} ({y})
but the result is for example predator dark ages a short film of 2015 => Action/6.654-2015/predator dark ages (2015)
i would like 6.654 to be 6.7 so after dot one digit
how to?
Re: one digit rating name
Posted: 15 Mar 2024, 10:24
by rednoah
Which version of FileBot are you using?
{rating} is rounded to 0.1 by default in more recent versions.
e.g.
Console Output: Select all
$ filebot -list --q 341870 --db TheMovieDB --format "{ny} | {rating}"
Predator: Dark Ages (2015) | 6.7
Re: one digit rating name
Posted: 15 Mar 2024, 10:27
by TAMASTEDA
filebo 4.9.6
Re: one digit rating name
Posted: 15 Mar 2024, 12:17
by rednoah
Please upgrade to the latest release. {rating} will then work as expected by default.
Re: one digit rating name
Posted: 23 Mar 2024, 18:54
by TAMASTEDA
sorry for delay to answer. ok i will give a shot with a newer version . but if tried with your script $ filebot -list --q 341870 --db TheMovieDB --format "{ny} | {rating}"
but no result
Re: one digit rating name
Posted: 24 Mar 2024, 03:27
by rednoah
TAMASTEDA wrote: ↑23 Mar 2024, 18:54
but no result
What does
"no result" mean? Surely the command-line will print something? Please use
screenshots so that we can see what you can see.
Re: one digit rating name
Posted: 25 Mar 2024, 15:22
by TAMASTEDA
Re: one digit rating name
Posted: 25 Mar 2024, 16:02
by rednoah
This is a
filebot command to be used on the command-line:
Shell: Select all
$ filebot -list --q 341870 --db TheMovieDB --format "{ny} | {rating}"
This is the relevant
format:
This
command and console output illustrates how this format would work out for a given movie:
** we use the command-line because we like copy & paste but you will want to run tests in the Format Editor if that is what you're used to; formats work the same; just don't paste a command-line into the Format Editor; that doesn't make sense
All of the above merely serves to illustrate to you that
{rating} yields
6.7 and thus does what you want to do by default:
Your screenshot suggests that you're still using an older version. Please use the latest release. Read
How to Request Help to learn how to check which version you are running.
Re: one digit rating name
Posted: 25 Mar 2024, 18:16
by TAMASTEDA
Ok thanks for all