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
{ az }/{ plex.tail }
e.g. Use the {az} binding to sort files into custom letter ranges:
Code: Select all
{
switch(az) {
case 'A'..'F': return 'A-F'
case 'G'..'Q': return 'G-Q'
case 'R'..'Z': return 'R-Z'
default: return '#'
}
}
e.g. Custom Series Format:
Code: Select all
{ n =~ /^(?i)[a-z]/ ? n[0] : '#' }/{ plex.name }
Code: Select all
{ n =~ /^(?i)[a-z]/ ? n[0] : '#' }/{ plex.name }