Debian Codegraph @

docs/plugins/ihate.rst

raw
1 IHate Plugin
2 ============
3
4 The ``ihate`` plugin allows you to automatically skip things you hate during
5 import or warn you about them. You specify queries (see :doc:`/reference/query`)
6 and the plugin skips (or warns about) albums or items that match any query.
7
8 To use the ``ihate`` plugin, enable it in your configuration (see
9 :ref:`using-plugins`).
10
11 Configuration
12 -------------
13
14 To configure the plugin, make an ``ihate:`` section in your configuration file.
15 The available options are:
16
17 - **skip**: Never import items and albums that match a query in this list.
18 Default: ``[]`` (empty list).
19 - **warn**: Print a warning message for matches in this list of queries.
20 Default: ``[]``.
21
22 Here's an example:
23
24 ::
25
26 ihate:
27 warn:
28 - artist:rnb
29 - genres:soul
30 # Only warn about tribute albums in rock genre.
31 - genres:rock album:tribute
32 skip:
33 - genres::russian\srock
34 - genres:polka
35 - artist:manowar
36 - album:christmas
37
38 The plugin trusts your decision in "as-is" imports.