Thank you, Zybex. Exactly what the doctor ordered. This took a little time to get the syntax straight, but it was straightforward once I got the naming conventions down: [Track #] instead of [Track], etc.
Thanks, -dGB
This expression language is 'Da Bomb. It helps immensely.
Question: I have a complex query I want to untangle, but I can't figure this one out. Can anyone help me? It involves 'ignoring' part of the string since this is for 100 albums, so some of the text string differs from album to album. A typical filename string looks like this:
/Vladimir Ashkenazy/Vladimir Ashkenazy - Complete Solo Recordings - 2022/CD09-27 - Beethoven/CD13 - Sonatas no.2 and no.3/Complete Solo Recordings - CD13 (1 - Piano Sonata no.2 in A op.2 no.2 - I. Allegro vivace).aif
What I want to do is turn this filename string into the following:
Artist: Vladimir Ashkenazy
Album: Complete Solo Recordings - CD 09 (will vary from album to album)
Date: 2022
Disc #: 9 (again, varies)
Track #: 1 (again, varies)
Name: Piano Sonata no.2 in A op.2 no.2 - I. Allegro vivace
The challenge is two-fold: 1) ignoring parts of the string and 2) concatenating the CD# into the title
Here's what I have so far: [Artist]/[Artist] - [Album] - [Date]//[Album]/ ([Track #] [Name])
....but this definitely doesn't work completely. I think it gets everything except concatenating the album title, which I guess I can get around manually, that's the smallest of my issues.
My biggest issues are figuring out how to ignore portions of a string.....and how not to overwrite fields in a string that I have already picked up. I think the two issues are related.
Any assistance greatly appreciated.
Thanks, -dGB