azuline / rose

A music manager with a virtual filesystem.
Apache License 2.0
14 stars 1 forks source link

Improve code API for defining Metadata Matchers #124

Closed azuline closed 6 months ago

azuline commented 6 months ago
 MetadataMatcher(tags=["descriptor"], pattern=MatcherPattern(f"^{descriptor_name}$")),

should be able to do something like

Matcher(["descriptor"], descriptor_name, strict=True)