Page 1 of 1

[SNIPPET] Sort into A-Z folders

Posted: 31 Aug 2013, 08:01
by rednoah
Here's some formats that can help you sort movies or episodes into alphabetically sorted folders by the first letter.

Sort Movies and TV Shows into A-Z folders:
  • TV Shows/F/Firefly/Season 1/Firefly - S01E01 - The Train Job
  • Movies/S/Serenity (2005)/Serenity (2005)

e.g. The built-in {az} binding works for both Movie and Episode objects:

Code: Select all


e.g. Custom Series Format:

Code: Select all

{n =~ /^(?i)[a-z]/ ? n[0] : '#'}/{n}/{n} - {s00e00} - {t}
e.g. Custom Movie Format:

Code: Select all

{n =~ /^(?i)[a-z]/ ? n[0] : '#'}/{ny}