From: kaliko Date: Tue, 15 Dec 2020 10:35:14 +0000 (+0100) Subject: Add missing plugin config filtering X-Git-Tag: 0.16.0~10 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=b1da166f3163848ce685f1fa576faf00747c104f;p=mpd-sima.git Add missing plugin config filtering --- diff --git a/sima/plugins/internal/tags.py b/sima/plugins/internal/tags.py index 4b1d764..e12f2c4 100644 --- a/sima/plugins/internal/tags.py +++ b/sima/plugins/internal/tags.py @@ -68,7 +68,7 @@ class Tags(Plugin): def _control_conf(self): sup_tags = Tags.supported_tags config_tags = {k for k, v in self.plugin_conf.items() - if (v and k not in ['filter', 'priority'])} + if (v and k not in ['filter', 'priority', 'track_to_add'])} if not self.plugin_conf.get('filter', None) and \ config_tags.isdisjoint(sup_tags): self.log.error('Found no config for %s plugin! '