Page 1 of 1

How To Use Season Expression in Script

Posted: 30 Oct 2015, 02:29
by leejk
Hello,

Using a Mac terminal, I have typed in the following and ran it: filebot -rename "The Simpsons.2015-09-27.mkv" --db TheTVDB --format "{n}.{s00e00}-{t}" -non-strict --action move --output "/Volumes/video/TV/The Simpsons/Season "{s}

However instead of the expected "Season 6" folder being created, it creates a literal "Season {s}" folder. Why is the expression not being interpreted?

thx

Re: How To Use Season Expression in Script

Posted: 30 Oct 2015, 10:58
by rednoah
--format takes a format expression (which typically contains variables). --output takes a file path (which can't contain variables). So you'll need to specify the variable parts of your format in the --format parameter.

Re: How To Use Season Expression in Script

Posted: 30 Oct 2015, 18:24
by leejk
ok got it, thx.