Category/[A-Z#]/show/show.season/filename

All about user-defined episode / movie / file name format expressions
Post Reply
stoatwblr
Posts: 5
Joined: 09 Oct 2016, 15:54

Category/[A-Z#]/show/show.season/filename

Post by stoatwblr »

I'd like to convert my existing stuff to Plex format, but there are far too many tv shows to sit in one top level directory.

What should I do to get Category/[A-Z#]/show/show.season/filename ?

FWIW Plex seems relatively forgiving of . and _ substitutions for whitespace along with Showname.S{N} instead of "Season {N}"
User avatar
rednoah
The Source
Posts: 23936
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Category/[A-Z#]/show/show.season/filename

Post by rednoah »

So you're saying you want to inject an A-Z folder into the standard Plex scheme?

I'd do it like this:

Code: Select all

{plex.root}/{az}/{n}/{n} - Season {s}/{plex.name}
If you need to replace spaces then this might be easier:

Code: Select all

{plex.path.replaceFirst('/', "/$az/").space('_')}
:idea: Please read the FAQ and How to Request Help.
Post Reply