can someone help me with me amc definition syntax?
Posted: 19 Mar 2017, 02:50
Hello everybody, i hope someone can watch with me over my amc expression command and help me understanding why i got an syntax error in linux command shell (ubuntu 16.04)
i copyd most of the stuff out of the windows version i used before and want to put it now on server side...
thanks for your time 
and welcome everyone here
i copyd most of the stuff out of the windows version i used before and want to put it now on server side...
Code: Select all
filebot -script fn:amc --output "/mnt/media/test" --action copy -non-strict "/mnt/media/testin" --log-file amc.log --def unsorted=y --def excludeList=amc.txt --def movieFormat="/mnt/media/Film/{n.replaceAll(/[:*?"<>|?]/).replaceAll(/[`´‘’?]/, "'")} ({y})/{n.space('_').replaceAll(/&/,"and").replaceAll(/#/,"number").replaceAll("[^a-zA-Z0-9_-]", "").lowerTrail().replacePart('Part_$1')}.{y}{".$resolution"}{".$vc"}{".$vf"}{".$source"}{".$ac"}{".$af"}" seriesFormat="/mnt/media/TV{n}/Season {s.pad(2)}/{n.upperInitial().space('.').replaceAll(/[,]+/)}.{s00e00}.{t.upperInitial().space('.').replaceAll(/[,]+/)}{'.'+vf.match(/720[pP]|1080[pP]/)}{".$vc"}{'-'+fn.match(/(?:(?<=[-])\w+$)|(?:^\w+(?=[-]))/)}"

and welcome everyone here