I have a custom field that I use for an external script. I use the series name of the video file to create a path. The problem is that sometimes, the episode name may contain a colon, or a period at the end of the name. currently, I have an expression (below) that treats each of these names individually, but would prefer a way to do this dynamically. Is there a way to do this? Current expression is:
T:\TV\If(isequal([Series], Marvel's Agents of S.H.I.E.L.D., 1), Marvel's Agents of S.H.I.E.L.D, If(isequal([Series], NCIS: Los Angeles, 1), NCIS_ Los Angeles, If(isequal([Series], 24: Legacy, 1), 24_ Legacy,[Series])))\Season PadNumber([Season],2)\
So, "Marvel's Agents of S.H.I.E.L.D." becomes "T:\TV\Marvel's Agents of S.H.I.E.L.D\Season 01\", or "NCIS: Los Angeles" becomes "T:\TV\NCIS_ Los Angeles\Season 02\"
Is there a way to do this without having to treat each series? That way if I start recording a new series with a colon, it will just work.