I'm attempting to follow the approach in this post, and separate my format script into multiple .groovy files. The problem occurs when I attempt to paste multiple files into the Formal field, single file works fine. Screenshots below show it working with one file, but not working with the same file listed twice.
I'm guessing I need some sort of delimiter between the files, but couldn't figure out what it is. Would appreciate any help on this.
Multiple external *.groovy script files
Re: Multiple external *.groovy script files
This feature requires FileBot r8757 or higher, i.e. the latest beta. FileBot 4.9.4 (current stable release) only accepts a single @file as format.rednoah wrote: ↑24 May 2019, 11:27 (requires FileBot r8757) Use @format.groovy syntax to include external format expression code at compile time:Code: Select all
@/path/to/TargetFolder.groovy @/path/to/MovieNaming.groovy @/path/to/MediaInfoTags.groovy
Please read the FAQ and How to Request Help.
Re: Multiple external *.groovy script files
Thanks, I'll give the beta a shot
Re: Multiple external *.groovy script files
You can always make your own build script to combine a set of individual files, and then use that auto-generated file as single @format.groovy line in your format:
Code: Select all
cat A.groovy B.groovy C.groovy > ABC.groovy
Please read the FAQ and How to Request Help.