$initials() tag request

taggerscript
featurerequest
picard
filenaming
Tags: #<Tag:0x00007f23c2d7e2a8> #<Tag:0x00007f23c2d7e168> #<Tag:0x00007f23c2d7e000> #<Tag:0x00007f23c2d7de70>

#1

Simple request. Can the scripting function
$initials(text)
be expanded so that there is a second, optional variable much like $swapprefix()?
In this case the second variable would choose whether the function returns the first letter of each word
OR
the first letter of each word AND the NUMBERS of the text.

So
$initials(text,*optional input of 0 or 1 for desired option)

example:

album: Some album volume 20
input: $initials(album,1)
output: sav20

I’m sure the developers have higher priorities for Picard… hoping this could be changed… but if not does anyone else have suggestions on how to accomplish this using existing tools?


#2

I filed a feature request on your behalf:
https://tickets.metabrainz.org/browse/PICARD-1108