I'm not able to retrieve the group of a file (although it is specified in the filename)... I'm now working around it by pattern matching the filename and putting the filename in the new name.
Code: Select all
{if (original =~ /NLKIDS/ && any{group}{null} == null ) {" [NLKIDS]"}}
Code: Select all
{if (original =~ /mercator/ && any{group}{null} == null ) {" [mercator]"}}
Code: Select all
FileBot 4.9.7 (r9130)
JNA Native: 6.1.2
MediaInfo: 21.09
Tools: fpcalc/1.5.1 7zz/21.06
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-08-15 (r836)
Groovy: 3.0.9
JRE: OpenJDK Runtime Environment 17.0.2
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 10 Core / 4.3 GB Max Memory / 447 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin xyzMBP2.localdomain 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:03:51 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T6000 x86_64
STORAGE: xxxxxxxxx
DATA: /Users/xyz/Library/Containers/net.filebot.FileBot/Data/Library/Application Support/User Data
Package: MAS
License: Mac App Store License