1
PLUGIN_NAME = 'Initials'
2
PLUGIN_AUTHOR = 'Lukas Lalinsky'
3
PLUGIN_DESCRIPTION = 'Provides tagger script function $initials(text).'
5
PLUGIN_API_VERSIONS = ["0.9.0", "0.10"]
7
from picard.script import register_script_function
9
def initials(parser, text):
10
return "".join(a[:1] for a in text.split(" ") if a[:1].isalpha())
12
register_script_function(initials)