conditional movie collection sheme

All about user-defined episode / movie / file name format expressions
Post Reply
JeroenDD
Posts: 1
Joined: 04 Feb 2014, 21:17

conditional movie collection sheme

Post by JeroenDD »

Hey everybody!

is there anyone who can tell me how I can sort my movies like this:

IF THERE IS A COLLECTION:
E:\Movies\Avatar collection\Avatar (2009)

IF THERE IS NOT A COLLECTION:
E:\Movies\Avatar (2009)\Avatar(2009)

additionally excluding illegal signs etc is also welcome.

Thanks up front!
User avatar
Ithiel
Power² User
Posts: 204
Joined: 11 Jul 2013, 14:58

Re: conditional movie collection sheme

Post by Ithiel »

Hi JeroenDD,

I would suggest having a look through these two threads:

Example Renaming Schemes
[HOW TO] Everything: Scripts, Guides & Code Collection!

The second post there talks about using {"$collection/"} in one of the examples, which only gets activated/used if it is in a collection.

To replace characters, you'll want to look at examples using replaceAll.

Towards the bottom of the thread, you'll notice a rather lengthy message of mine that also includes some very detailed naming schemes that combine these (and several other useful functions) all into one.

Let us know how you go :-)
There can be only one Power² User
Post Reply