The standard name matching works quite well, but in some cases you may need to specify regexp(s) manually. Usually the name_regexp
when series is written in multiple different ways.
Notes:
name_regexp
is useful for series which are written in more than one wayExample:
series:
- some series:
ep_regexp: (\d\d)-(\d\d\d) # must return TWO groups, both being numeric values
- another series:
id_regexp: (\d\d\d) # can return any number of groups
- third series
All above regexps also accept multiple regular expressions in list form.
For example if some series
appears in multiple different naming conventions, you can give list of regexps that match to series name. The match is tried from title AND description fields.
- some series:
name_regexp:
- ^some.series
- ^some.srs
- ^some.series.2011
ep_regexp is for series enumerated by season and episode numbers (eg, S04E01). Naive example:
ep_regexp:
- s(\d+)e(\d+)
- s(\d+)ep(\d+)
id_regexp is for series that are not enumerated by season/episode numbering. Naive example:
id_regexp:
- (\d\d\d\d).(\d+).(\d+)
- (\d+).(\d+).(\d\d\d\d)
date_regexp
and sequence_regexp
can also be defined for series identified by those respective numbering schemes.
User defined regexps takes priority over the built-in expressions, but do not disable them.
Specifying ep_regexp
disables all id_regexp
's and vice versa.