ghickman/tvrenamr — Issue #12: Filename parts are required
Author: ghickman
Created: 2011-11-27 20:49:11+00:00
State: open

Using the `--regex` option requires the `name`, `season` and `episode` parts in the string.

Any filename that doesn't use all three of these can be renamed with difficulty, if at all.

Example:

S2 - E01 - Title.avi

Making the different parts optional so they can be provided with options, e.g.:

tvr S2\ -\ E01\ -\ Some\ Title.avi --regex "" --name "Chuck" --season 2 --episode 3

As an addition to this the `--canonical` option should still work as before, i.e.:

* `--canonical` __or__ `--name`: Search the library for this name and use it to rename the file.
* `--canonical` __and__ `--name`: Search the library using the `--canonical` name and use `--name` for the show name in the filename.