sampsyo/beets — pull request #43 by goncalopp (2012-07-02 02:24:35+00:00)
Title: Unicode accent replacing

Adds an --unicode_replace/-u option to the import option parser and config file, so that (when set, defaults to False) imported paths are saved in plain ASCII, with accents properly removed. This could be useful for the people who don't want "strange" filenames, and for legacy software without unicode support.

AFAIK, this can't easily be done with the "replace" regexes.

All tests (that passed before) pass.
I tried my best to write this cleanly, but I'm very new to beets (usage and codebase), so let me know if there's anything at all I should change.