I'm trying to search/filter the library based on a search term. I'm using "MB_OpenFilterInTab", but I've noticed that the only comparison types are Is and IsSimilar. I would like to be able to filter MetaDataTypes using the 'contains' comparator.
Additionally, and I'm probably misunderstanding this functionality, I would like to be able to search multiple MetaDataTypes at once. Using MB_OpenFilterInTab with MetaDataType.TrackTitle and MetaDataType.AlbumArtist does not return results from both types.
Could you explain this format? Is this 'AND' by default and not 'OR'?
public delegate bool MB_OpenFilterInTabDelegate(MetaDataType field1, ComparisonType comparison1, string value1, MetaDataType field2, ComparisonType comparison2, string value2);
Any help or an enhancement would be excellent.
EDIT: After further testing it searches for field1 and field2 simultaneously. Logically, it operates as 'AND'.