Page 1 of 1

Format Expression - Help With Collections

Posted: 10 Oct 2015, 01:29
by bookedirl
I took a look at this post viewtopic.php?t=2 and I'm looking at sorting out my movies a certain way. Not sure if it's possible.

Code: Select all

Movies/{collection+'/'}{n} ({y}){' CD'+pi}
This is close to what I want... but I don't want movies in a collection being put into their own folders inside the collection folder.

Example:

/Movies/Toy Story Collection/Toy Story (1995)/Toy Story (1995).mp4
/Movies/Toy Story Collection/Toy Story 2 (1999)/Toy Story 2 (1999).mp4
""
Non-Collection Movie:
/Movies/The Boxtrolls (2014)/The Boxtrolls (2014).mp4


I want it to instead do this:

/Movies/Toy Story Collection/Toy Story (1995).mp4
/Movies/Toy Story Collection/Toy Story 2 (1999).mp4
""
Non-Collection Movie:
/Movies/The Boxtrolls (2014)/The Boxtrolls (2014).mp4


Is it possible to do this or will I need to find out some way to do check if it's a collection or not?

Thank you.

Re: Format Expression - Help With Collections

Posted: 10 Oct 2015, 06:17
by rednoah
Solution:

Code: Select all

Movies/{any{collection}{"$n ($y)"}}/{n} ({y}){' CD'+pi}
@see viewtopic.php?f=5&t=1895