I spent a lot of time researching to create the line below and it was working fine, but only today did I notice that it has stopped working.
Code: Select all
{fps.stripTrailingZeros().toPlainString() + 'fps'}
Code: Select all
[No signature of method: net.filebot.format.FrameRate.stripTrailingZeros() is applicable for argument types: () values: []] Peaky Blinders - 1x01 - Episode 1
I then tried just {fps} and got "25 fps", which is good but I use this parameter in the filename and I don't want the space. I tried {fps.space('.')} but that did not work.
Can anyone help me with the code to replace the "space" with a "period" using the FPS binding reference?
Thanks
Code: Select all
FileBot 4.9.4 (r8736)
JNA Native: 6.1.0
MediaInfo: 20.09
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2021-08-02 (r761)
Groovy: 3.0.8
JRE: OpenJDK Runtime Environment 16.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 12 Core / 4.8 GB Max Memory / 496 MB Used Memory
OS: Windows 10 (amd64)
STORAGE: xxxxxxx
DATA: C:\Users\xxxx\AppData\Roaming\FileBot
Package: MSI
License: FileBot License xxxxx (Valid-Until: 2022-01-17)