Problem with sortName
Posted: 03 Mar 2022, 19:00
I like using sortName to move 'The' to the end of the Movie or TV series name but I have noticed that if the media name has a default year in the title because it's a common title the 'the' gets moved behind the year instead of before the year.
For example:
Using TheTVDB as a source The Outer Limits would become:
Instead of becoming:
Is there anyway to create a custom regex that can correctly swap The or A to the end, but putting it before the year if a year already exists in the default title?
For example:
Using TheTVDB as a source The Outer Limits would become:
Code: Select all
Outer Limits (1995), The
Code: Select all
Outer Limits, The (1995)