mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-03 06:51:16 +00:00
Replaced inline matcher.New(ds) calls in external.provider and PlaylistGenerator orchestrator with proper dependency injection via Google Wire. Added matcher.New to the Wire provider set, updated NewProvider and GetManager signatures to accept *matcher.Matcher, and deleted the trivial provider_matching.go wrapper. This eliminates tight coupling where each caller knew how to construct a Matcher, following the same DI pattern used by other core services. Signed-off-by: Deluan <deluan@navidrome.org>