I am seeking a list (or link to a list) of all the variables or strings we can be using in our naming scheme, perhaps additionally their behavior, affect, etc. Additionally, any special characters to avoid, syntax, functions, etc, which may be available.
I have just searched google, and these forums, the wiki, extensively, but could not find. I wouldn’t mind creating a nice wiki article on all the variables used throughout the sickrage system, if I have access to the list of them, and do some trial-and-error on my end (and should probably have a few developers verify it once its complete before turning it public). It would be nice if this list could be placed as a tooltip on the naming settings page also.
What sparked me upon this journey was my realization that when you request a %Y (Year) variable, it uses the Year of the episode’s release date, “Episode Year”. BUT, there is another Year which may be important, the “Show Year”, year the first episode came out (the one to distinguish say the old MacGuyver stuff my parents knew from long ago, and the new MacGuyver series from somewhere in '16,17or18, not sure, whatever).
In my case specifically, I am attempting unsuccessfully, to have the following naming scheme work:
/mnt/4TB/MEDIA/TV/%SN (%y)/%SN (%y) S%0S/%SN (%y) - S%0SE%0E - %EN [%QN]
and it comes out like this:
/mnt/4TB/MEDIA/TV/Show Name (2011)/Show Name (2011) S02/Show Name (2011) - S02E03 - Ep Name [720p HDTV].ext
which looks fine and dandy to the naked eye, BUT, here’s what happens:
Sickrage then creates a new parent directory for EACH YEAR, so, in the case of American Dad! for example, I am desiring a SINGLE folder in the TV directory, called “American Dad! (2005)”, but as I am running a backlog of it, I am seeing so far five folders; “American Dad! (2008)” “American Dad! (2014)” “American Dad! (2016)” “American Dad! (2017)” “American Dad! (2018)” [x being arbitrary number] folders. Emby has no idea what to make of this, it cannot have two parent directories for a single show.
Lastly, probably lots of interesting things I’d imagine can be done for splitting things like “Quality”, and “Resolution”, “FPS”, which people might really enjoy playing around with.
EDIT:
SR Version: 9.4.58
SR GIT Commit: 171203929a53952a42905fc07f511c6fb81faf41