Closed regorxxx closed 1 year ago
Good idea, thanks for suggesting it. I'll add this in the bugfix release for #306.
...Can you tell I don't use titleformat strings all that often? >_<
I opted to just concatenate single $if()
statements, rather than use $or()
because that gets clumsy really quickly when you add more options (since fb2k's $or()
doesn't support more than two arguments, or at least so says the documentation). This way you can just keep tacking new $if()
s to the end.
This is also why the scheme is "empty string to search" rather than "this particular string".
Steps to reproduce
$stricmp(%genre%,instrumental)$stricmp(%genre%,classical)
Expected behavior
Track should be skipped.
Versions
Additional information
Filter should not use $stricmp but $strstr
$if($or($strstr($lower(%genre%),instrumental),$strstr($lower(%genre%),classical)),skip,)