PDA

View Full Version : IFEQUALS Cannot Find Substrings?



lahatte
11-13-2015, 01:28 AM
Hi,

I was hoping to have a way to check the 'genre' tag for the text "Classical". Unless "Classical" is the ONLY text in the tag, ISEQUALS won't match it.

Is there no way to find a substring, as within a multi-genre tag (i.e., Rock/Heavy metal/Grunge)?

Thanks very much.
Clay

mville
11-13-2015, 06:35 AM
In the ISEQUALS function, try replacing [genre] with [tags]genre,/[]

... sorry, half asleep here. Clearly the above (ISEQUALS) won't work, but the [tags]<element>,deliminator[] is the function to return multi-value tags e.g. [tags]genre,/[]

Spoon
11-13-2015, 06:44 AM
I do not think it is able to work on multi items. I will mark as a issue for next release.

lahatte
11-13-2015, 11:56 PM
Thanks very much. It would be great to be able to choose to match part of a string. Of course, too little too late for me, right? ;)

Clay

lahatte
11-14-2015, 12:36 AM
By the way, while we're mentioning the next release, are you aware that in dBpoweramp, adding album art "from Internet" just replaces the image; it doesn't add a new image, unless you choose to Paste from clipboard.

Thanks.

Spoon
11-14-2015, 06:43 AM
Yes this is by design.

lahatte
11-15-2015, 01:07 AM
Really? That seems odd. There is a button for Album art, which could change the image, but the 'plus' sign should 'add' an image. Right? Maybe my post before was clear on the fact that I was referring to the 'plus' sign icon.

Thanks.

lahatte
11-27-2015, 01:16 AM
I do not think it is able to work on multi items. I will mark as a issue for next release.

Hi Spoon, perhaps a more specific function for this would be to look for individual tags in a multi-tag genre string. For example, some music could have "Classical" as one of the genres (as in "Classical; Chamber"). Another might have "Neoclassical", and I wouldn't want to match that one, only the "Classical" ones.

Or even better, provide a means (two functions) to do both a substring match, and a sub-genre match.

Thanks.