]> kaliko git repositories - mpd-sima.git/commitdiff
Add missing plugin config filtering
authorkaliko <kaliko@azylum.org>
Tue, 15 Dec 2020 10:35:14 +0000 (11:35 +0100)
committerkaliko <kaliko@azylum.org>
Tue, 15 Dec 2020 10:35:14 +0000 (11:35 +0100)
sima/plugins/internal/tags.py

index 4b1d764ac554c6b5c66561d3e0108d865b2f8e52..e12f2c4447d61542804dafe07b30ee13ccbb36f4 100644 (file)
@@ -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! '