Broken format expressions?

Any questions? Need some help?
Post Reply
adonisk
Posts: 4
Joined: 05 Jun 2014, 09:44

Broken format expressions?

Post by adonisk »

So i've been using Filebot since like 4.2 or 4.3 and suddenly the "format" I've been using since the start stopped working, here is the expression:

Code: Select all

{file =~ /Minix\/Other\/Todo/ ? ('/home/adonisk/downloads/Minix/' + (database =~ /Anidb/ ? 'Animes' : 'TV Shows') + '/' + primaryTitle.ascii() +'/') : ''}{primaryTitle.ascii().space('.')} - s{(episode.season ? s : 1).pad(2)}e{e.pad(episodelist.size() < 99 ? 2 : 3)} - {t.ascii().space('.').take(64)}
Here is the screenshot of the expression erroring out:
Screenshot.png
I've tried trimming the expression down as much as possible and it kept hitting error after error with things like `t`, `file` etc

Filebot 4.5.6, ArchLinux, OpenJDK version 1.8.0_31
User avatar
rednoah
The Source
Posts: 23947
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Broken format expressions?

Post by rednoah »

It's a warning, and you can ignore it. It'll probably work if you apply the format on real data.
:idea: Please read the FAQ and How to Request Help.
adonisk
Posts: 4
Joined: 05 Jun 2014, 09:44

Re: Broken format expressions?

Post by adonisk »

The problem is, it doesn't apply it (it ignores the filepath that I'm appending if it's inside the "Todo" directory I've specified)
Post Reply