Search found 7 matches
- 24 Aug 2023, 20:22
- Forum: Episode / Movie Naming Scheme
- Topic: Including stopped working in 5.0.3
- Replies: 12
- Views: 3828
Re: Including stopped working in 5.0.3
That makes sense. I'm happy as is now at least, easy enough to hard code the full path in just the format files and then have all the script files be relative (not that it was that hard to have absolute paths everywhere, but a lot easier now should I ever have to move it somewhere else in the future ...
- 24 Aug 2023, 17:28
- Forum: Episode / Movie Naming Scheme
- Topic: Including stopped working in 5.0.3
- Replies: 12
- Views: 3828
Re: Including stopped working in 5.0.3
I was just trying out simplifying the imports. But the scenario I talked about where I have to provide absolute path in the format file looks something like: c:/filebot/scripts/normalize.groovy def normalize = { if (!it) return null return it.replaceTrailingBrackets() // .upperInitial().lowerTrail ...
- 24 Aug 2023, 10:25
- Forum: Episode / Movie Naming Scheme
- Topic: Including stopped working in 5.0.3
- Replies: 12
- Views: 3828
Re: Including stopped working in 5.0.3
Hi,
Sorry for the late reply, I'd updated all includes to be absolute paths so stopped checking this
I've tested the BETA version now, works as expected when I change back to relative filepaths, only the formatFiles I created seems to need the absolute path now, but thay might be expected?
Sorry for the late reply, I'd updated all includes to be absolute paths so stopped checking this

I've tested the BETA version now, works as expected when I change back to relative filepaths, only the formatFiles I created seems to need the absolute path now, but thay might be expected?
- 12 Aug 2023, 21:31
- Forum: Episode / Movie Naming Scheme
- Topic: Including stopped working in 5.0.3
- Replies: 12
- Views: 3828
Re: Including stopped working in 5.0.3
Oops, yeah, that was just some manual editing that I missed for the syntax errors (my actual files are waaaaay bigger), the scripts I have worked (and have worked fine for many years), it was mostly the change to the $HOME dir that surprised me. But seems I did get the gist of the format code vs the ...
- 12 Aug 2023, 20:29
- Forum: Episode / Movie Naming Scheme
- Topic: Including stopped working in 5.0.3
- Replies: 12
- Views: 3828
Re: Including stopped working in 5.0.3
Starting to think that me setup has worked by sheer dumb luck for the last few years... I'm really confused by the difference, from what I understand: The format.groovy file should not contain groovy code, only a string formatted to include the different actual groovy files. The utiliities groovy ...
- 12 Aug 2023, 17:28
- Forum: Episode / Movie Naming Scheme
- Topic: Including stopped working in 5.0.3
- Replies: 12
- Views: 3828
Re: Including stopped working in 5.0.3
Hi, I've read those links and tried to use the @/path syntax, but if I do that the includes don't work from that file (i.e. if I use {include /formats/myMovieFormat.groovy}, the includes within that file fails with a "binding myVariableName no such property". When I use the runtime includes, it used ...
- 12 Aug 2023, 15:33
- Forum: Episode / Movie Naming Scheme
- Topic: Including stopped working in 5.0.3
- Replies: 12
- Views: 3828
Including stopped working in 5.0.3
Hope this is the correct forum for this. Due to my fairly complex naming rules I've been using separate files for my formats to AMC and the UI, but with 5.0.3 it seems something has broken in terms of includes. If I have the format file (my actual files are faaaar larger): movieFormat.groovy: def ...