Code: Select all
F:\TV\{c{info.certification} ?: "No Known Rating"}\{n.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").lowerTrail().replacePart(', Edition $1')}\Season {s.pad(2)}\E{e.pad(2)} - {t.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'").lowerTrail().replacePart(', Part $1')}
any suggestions on how i'd do so or if its possible?
i'm thinking possibly best using a csv file
Code: Select all
read Name;Certification
get {info.certification}
get {n}
check if {n} == Name
if it is replace {info.certification}
if not add to csv with Name;certification
not sure how i'd do so i've never used csv i tend to just work with one value at a time.
but my biggest hurdling block is understanding how to change a value that was already called i'm guessing .After
i've tried doing some if then else in the format but only somewhat got it working on my attempts.