Instead of how the example is done below, I would like to get a regex= line for shows the this format:
TV Show - SxxExx.ext
e.g.: Lost - S06E11.m4v
Thanks for your help.
Code: Select all
# regex to match job name to strip out show name, season number, episode number and episode name
# in multi part episodes (eg: Show - 1x01-1x02 - Episode), the first episode (1 in this case) is used
regex="^(.*) - ([[:digit:]])+x([[:digit:]]+).* - (.*)$"