From ea2474277a542ba41dcb1df6f0d3a26888406cfc Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Tue, 20 Jan 2015 14:55:50 -0800 Subject: [PATCH] Changelog/typo fix for filefilter (#1186) --- docs/changelog.rst | 3 +++ docs/plugins/filefilter.rst | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 374f48b46..903eb4848 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -6,6 +6,9 @@ Changelog Features: +* A new :doc:`/plugins/filefilter` lets you write regular expressions to + automatically avoid importing certain files. Thanks to :user:`mried`. + :bug:`1186` * Stop on invalid queries instead of ignoring the invalid part. * A new :ref:`searchlimit` configuration option allows you to specify how many search results you wish to see when looking up releases at MusicBrainz diff --git a/docs/plugins/filefilter.rst b/docs/plugins/filefilter.rst index cd51b01e4..8feee9096 100644 --- a/docs/plugins/filefilter.rst +++ b/docs/plugins/filefilter.rst @@ -18,7 +18,7 @@ configuration file. The available options are: - **album_path** and **singleton_path**: You may specify different regular expressions used for imports of albums and singletons. This way, you can automatically skip singletons when importing albums if the names (and paths) - of the files are distinguishable via a regex. The path regex defined here + of the files are distinguishable via a regex. The regexes defined here take precedence over the global ``path`` option. Here's an example:: @@ -28,5 +28,3 @@ Here's an example:: # will only import files which names start with two digits album_path: .*\d\d[^/]+$ singleton_path: .*/(?!\d\d)[^/]+$ - -