We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TagVars.names()
1 parent c8e0f0e commit 94e9b86Copy full SHA for 94e9b86
picard/tags/tagvar.py
@@ -33,6 +33,7 @@
33
except ImportError:
34
markdown = None
35
36
+from picard.config import get_config
37
from picard.i18n import (
38
N_,
39
gettext as _,
@@ -338,6 +339,11 @@ def display_full_description(self, tagname):
338
339
return self._format_display(name, content, tagdesc)
340
341
def names(self, selector=None):
342
+ config = get_config()
343
+ plugins = config.setting['enabled_plugins'] if 'enabled_plugins' in config.setting else []
344
+
345
for item in self._items:
346
+ if item.plugin_id and item.plugin_id not in plugins:
347
+ continue
348
if selector is None or selector(item):
349
yield str(item)
0 commit comments