njh/rotter — pull request #17 by nick-prater (2012-06-14 14:04:28+00:00)
Title: Allow arbitrary file layout

Patches to allow an arbitrary custom file layout to be specified.

Rather than adding (yet) another preset file layout option, this set of patches
allows an arbitrary layout to be specified via the -L option, using
strftime-style format specifiers.

To accommodate this, preset file layout names (flat, heirarchy etc)
must now be specified in full. Previously only the first letter was checked.

If the specified layout does not match a preset name, the parameter is interpreted
as a strftime format string.

For example: -L "%Y-%m-%d/studio-1/%H%M.flac"
will generate files like: [root]/2012-06-05/studio-1/1300.flac