How can I remove the word 'The' from the artist field if the artist begins with The, eg ...
The Smiths = Smiths The Strokes = Strokes
But keep where 'The' appears in the artist name, eg
Adam & The Ants = Adam & The Ants
pone
Mar 12 2012, 19:19
ZITAT(sobeitjedi @ Mar 12 2012, 17:06)
Hi.
How can I remove the word 'The' from the artist field if the artist begins with The, eg ...
The Smiths = Smiths The Strokes = Strokes
But keep where 'The' appears in the artist name, eg
Adam & The Ants = Adam & The Ants
Use the new Tag-Tag Converter or Action: Format Value Field: ARTIST Formatstring: $regexp(%artist%,^The ,)
sobeitjedi
Mar 13 2012, 14:12
QUOTE (pone @ Mar 12 2012, 19:19)
Use the new Tag-Tag Converter or Action: Format Value Field: ARTIST Formatstring: $regexp(%artist%,^The ,)
Thanks - while that does work, it's putting an extra space at the end of the artist name. For example ...
1. Madonna - Lucky Star
bcomes
1. Madonna - Lucky Star (an extra space after Madonna)
pone
Mar 13 2012, 14:45
ZITAT(sobeitjedi @ Mar 13 2012, 14:12)
Thanks - while that does work, it's putting an extra space at the end of the artist name. For example ...
No, it should not. If so, maybe you had the extra space at the end of the formatstring. Or it was there before.
sobeitjedi
Mar 13 2012, 15:21
QUOTE (pone @ Mar 13 2012, 14:45)
No, it should not. If so, maybe you had the extra space at the end of the formatstring. Or it was there before.
Looks like when I copied your string in, somehow an extra space got tagged on the end. Unfortunately, I've just applied this action to a load of tracks. Is there a way I can remove the trailing spaces from the end of Artist? Otherwise I have to go through them all manually to remove the additional spaces.
pone
Mar 13 2012, 17:12
ZITAT(sobeitjedi @ Mar 13 2012, 15:21)
Looks like when I copied your string in, somehow an extra space got tagged on the end. Unfortunately, I've just applied this action to a load of tracks. Is there a way I can remove the trailing spaces from the end of Artist? Otherwise I have to go through them all manually to remove the additional spaces.