Hi guys, I have a few a questions regarding formatting titles for the albumlist panel I hope someone will be able to answer...
1.) Regarding the $if statement, is it possible to have it check for the value of a tag instead of just wether a tag is valid or not? Ex. I want it to check %genre2% and IF the value is classical then do something, if it's not, do something else. What other kind of values/statements can I use in the $if statements? what else returns true/false
2.) Is it possible to have more complicated If statements? Basically, I have a very different tags for classical music than I do for everything else, I'd like for example, depending on the value of %genre2% to have completely different branches with different levels, including different numbers of levels.
3.) I've extracted and stored lots of Performer information for my tracks, I've decided to format them this way %PERFORMER_PIANO%, %PERFORMER_VOCALS%, etc... the value contains just the name. The problem is that the string after the
'_' is variable, it could theoretically be anything, and so far have A LOT of different instruments/credits used. Each Track can have a variable number of %PERFORMER_% tags, anywhere from 0 to dozens of them, and each can have multiple values. Knowing this I have the following questions:
a.) Is it possible to list/categorize by the peformer type (the value after the _ in %PERFORMER_****%? So basically, 1st level: All Peformers, 2nd level: Piano or Violin, or Vocals or Trumpet, etc...
b.) Is it possible to treat all tags that start with %PERFORMER_% treated like one? Essentially, I'm looking for something that would work like a wildcard (%PERFORMER_*%) This so I can list ALL Peformers regardless of which type of performer they are.
c.) The reason I stored/ordered my Peformer info in the way I did was to accomplish the following: Be able to differentiate between different type of performers (Piano, conductor, orchestra, vocals, etc...) I only wanted to the name to show up in the value field to make the listings look cleaner, and I didn't really want to include the performance type in the value with the name. If the way I've done it makes it impossible to reach my goals, does anyone have any suggestions as to how I could re-organize my tags?
4.) Is there anyway to parse text through Regex type functions? Say, take a tag value, run a function to extract some information from it, then use that somewhere. The idea I have in mind is this, I list my classical work by Work Title and not by Album, what happens is that I have some works which are named exactly the same, so they show up as one work in the album list, I wanted to defferientate them this way: So that say Piano Concerto No. 1 would be listed as Piano Concerto No. 1 (Conductor Name) (Recording date). The problem is that the conductor includes the full name, say Karajan, Herbert Van, I'd like only the Last name to show up in the Work Title, basically anything before the ','. The same for the recording date which can be quite complicated such as Mar 1 1957 to Apr 4 1968. I'd like to only show only the YEAR extracted from the above. So that basically I could have a work title that looks like: Piano Concerto No. 1 (Karajan) (1957)
That's about it, thanks in advance for the help!
Benji99
