Add default replace for - to _

Also updated changelog and docs.

Resolves: #549
This commit is contained in:
Matt Murch 2017-04-12 13:38:03 -04:00
parent 45bed808d3
commit e224621e83
3 changed files with 3 additions and 0 deletions

View file

@ -39,6 +39,7 @@ replace:
'\.$': _
'\s+$': ''
'^\s+': ''
'^-': _
path_sep_replace: _
asciify_paths: false
art_filename: cover

View file

@ -52,6 +52,7 @@ New features:
Fixes:
* :doc:`/beets/config_default`: Added default replace for - to _. :bug:`549`
* :doc:`/plugins/absubmit`: Do not filter for supported formats. :bug:`2471`
* :doc:`/plugins/mpdupdate`: Fix Python 3 compatibility. :bug:`2381`
* :doc:`/plugins/replaygain`: Fix Python 3 compatibility in the ``bs1770gain``

View file

@ -131,6 +131,7 @@ unexpected behavior on all popular platforms::
'\.$': _
'\s+$': ''
'^\s+': ''
'^-': _
These substitutions remove forward and back slashes, leading dots, and
control characters—all of which is a good idea on any OS. The fourth line