add something to filename but only if filebot finds it?
Posted: 19 Aug 2022, 20:23
Sorry, I know this is probably basic...but i just cant find the info I am looking for or what to cal lit....
But my current TV naming scheme is below
how do i get the group name to be encased in [ ] but only if it finds a group? and leaves them out if no group is found....
i.e.
an episode with a group Showname - S03E01 - Fire Escape [LAZY].mkv
an episode without a group Showname - S03E02 - The land of oz .mkv
But my current TV naming scheme is below
Code: Select all
D:/TV/{n.colon(" - ")}/{regular ? 'Season' + s : 'Season0'}/{n.colon(" - ")} - {s00e00} - {t.replaceAll(/[!?.]+$/).replaceAll(/[`´‘’ʻ]/, "'")
.replacePart(', Part $1').colon(" - ")} [{group}]
i.e.
an episode with a group Showname - S03E01 - Fire Escape [LAZY].mkv
an episode without a group Showname - S03E02 - The land of oz .mkv