From f4dc13161c81f8fade1454007f3a84a1257882b0 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Mon, 30 Jan 2012 14:06:16 -0800 Subject: [PATCH] document space replacement in .beetsconfig --- docs/reference/config.rst | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/reference/config.rst b/docs/reference/config.rst index 9b2ee3c78..46eae2d45 100644 --- a/docs/reference/config.rst +++ b/docs/reference/config.rst @@ -89,18 +89,26 @@ section header: substitutions to avoid causing errors on your operating system. Here are some recommended base replacements for Unix-like OSes:: - replace = [\\/\?"]|^\.' _ + replace = [\\/\?"]|^\. _ : - And, on Windows:: - replace = [\\/\?"]|^\.' _ + replace = [\\/\?"]|^\. _ ["\*<>\|]|^\.|\.$|\s+$ _ : - Note that the above examples are, in fact, the default substitutions used by beets. + To replace space characters, use the ``\s`` (whitespace) entity:: + + replace = \s _ + ... + + This will avoid using a literal space and thus confusing beets. (``\s`` also + matches tabs and newlines, but that is probably fine.) + ``art_filename`` When importing album art, the name of the file (without extension) where the cover art image should be placed. Defaults to ``cover`` (i.e., images will