Search found 5 matches

by simonbolster
12 Mar 2021, 15:32
Forum: Episode / Movie Naming Scheme
Topic: How to add "Part_X" to end of filename for multipart files
Replies: 8
Views: 4803

Re: How to add "Part_X" to end of filename for multipart files

Calling my format a "mess" is putting it politely!! It's a shambles . Yours on the other hand... there's something to be said for elegant code . And it works perfectly, except... If the movie is a single -part file, all is well. It returns the following (for example): /Movies/12 Strong (20...
by simonbolster
11 Mar 2021, 16:32
Forum: Episode / Movie Naming Scheme
Topic: How to add "Part_X" to end of filename for multipart files
Replies: 8
Views: 4803

Re: How to add "Part_X" to end of filename for multipart files

Don't worry about that last question - I confirmed through testing that your solution is perfect - there's no need for my "if" logic. Final naming scheme: {norm = {it.upperInitial().lowerTrail().replaceTrailingBrackets().replaceAll(/[`´‘’ʻ""“”]/, "'").replaceAll(/[:|]/,...
by simonbolster
11 Mar 2021, 13:32
Forum: Episode / Movie Naming Scheme
Topic: How to add "Part_X" to end of filename for multipart files
Replies: 8
Views: 4803

Re: How to add "Part_X" to end of filename for multipart files

Thanks @rednoah!

I have this:

Code: Select all

{pi>0 ? ' - pt'+{pi} : ''}
Is the "if" logic required, or will your suggestion only insert the ' CD'+pi if there are multiple parts?

Thanks again - and also for the very swift response :D
by simonbolster
10 Mar 2021, 18:05
Forum: Episode / Movie Naming Scheme
Topic: How to add "Part_X" to end of filename for multipart files
Replies: 8
Views: 4803

How to add "Part_X" to end of filename for multipart files

Hello and thanks in advance for any assist. I've done my best to find the answer to this among the trove of invaluable advice and examples in the forums, but alas I have failed. I have a movie naming scheme that I am happy with, borrowed and plagiarized extensively and shamelessly from others' examp...