Folder Sorting

SABnzbd has the ability to do some clever folder sorting on files based on the name of the nzb. Currently this is only extended to nzb files that are part of a series such as TV shows.

TV Sorting

This will allow your downloads to be sorted into user-defined folders and renamed depending on the settings.

Detection

SABnzbd requires the show name followed by the episode number and series number in the name of the nzb for it to be picked up. It should be either in the format 1x01 (SeriesxEpisode) or S01E01 (SseriesEepisode)

Examples

"Show Name - 1x01 - Episode Name.nzb"
"Show.Name.S01E01.RLS.nzb"
"ShowName.1x01.nzb"
(Note: "ShowName1x01.nzb" will currently not work due to the support for specials (eg. Sx01))

Episode Names are special in that they only work when separated after the series/episode number with a - such as in
"Show Name - 1x01 - Episode Name.nzb"

Sorting

Sorting is done using replaceable values such as %sn for the show name.

Meaning Pattern Result
Show Name %sn Show Name
%s.n Show.Name
%s_n Show_Name
Season Number %s 1
%0s 01
Episode Number %e 5
%0e 05
Episode Name %en Episode Name
%e.n Episode.Name
%e_n Episode_Name
File Extension %ext avi

You can use these values to contruct any type of path/filename combination, however there are some recommended presets.

Presets

1x01 Season Folder:
%sn/Season %s/%sn - %sx%0e - %en.%ext
Example: Show Name/Season 1/Show Name - 1x05 - Episode Name.avi

S01E01 Season Folder:
%sn/Season %s/%sn - S%0sE%0e - %en.%ext
Example: Show Name/Season 1/Show Name - S01E05 - Episode Name.avi

1x01 Individual Episode Folder:
%sn/%sx%0e - %en/%sn - %sx%0e - %en.%ext
Example: Show Name/1x05 - Episode Name/Show Name - 1x05 - Episode Name.avi

S01E01 Individual Episode Folder:
%sn/S%0sE%0e - %en/%sn - S%0sE%0e - %en.%ext
Example: Show Name/S01E05 - Episode Name/Show Name - S01E05 - Episode Name.avi

If you do not wish for any renaming to be done, just do not include that part of the path, such as instead of:
%sn/Season %s/%sn - S%0sE%0e - %en.%ext
use:
%sn/Season %s

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License