Page 1 of 1

"not a valid identifier" after upgrade 4.7.2

Posted: 06 Sep 2016, 15:31
by nikeb
Hi

after the upgrade to 4.7.2 i have this error:

"seriesFormat " is not a valid identifier

on my script that worked perfectly since then:

Code: Select all

filebot -script fn:amc --output "$HOME/Disco" --log-file amc.log --action move --conflict override -non-strict -no-xattr "$HOME/ArrivoDL" --def "seriesFormat = path/{n.space('.')}/{episode.special ? 'Specials' : \"Serie.\${s.pad(2)}\"}/{n.space('.')}.{episode.special ? 'S00E'+special.pad(2) : s00e00}{'.'+vf.match(/720[pP]|1080[pP]/)}" --def minFileSize=0 minLengthMS=0
I already delete the cache with the command -clear-cache

Thanks in advantage

Re: "not a valid identifier" after upgrade 4.7.2

Posted: 06 Sep 2016, 16:07
by rednoah
You can't add spaces. "x " is not a valid parameter name, "x" is.

Re: "not a valid identifier" after upgrade 4.7.2

Posted: 16 Sep 2016, 11:11
by nikeb
Perfect! thank you, i just erase the space between variable and parameter:

"seriesFormat ="
in
"seriesFormat="