Arlodotexe / strix-music

Combine any music sources into a single library. It's your music. Play it your way.
http://www.strixmusic.com
138 stars 4 forks source link

Remove INotificationService dependency from metadata scanners #157

Closed Arlodotexe closed 2 years ago

Arlodotexe commented 2 years ago

Background

The FileMetadataManager and AudioMetadataScanner currently have a dependency on INotificationService.

The problem

This forces all file-based core to also have a dependency on it, which is inconvenient for consumers of file-based cores to have to implement.

The solution

For all classes in the StrixMusic.Sdk.FileMetadata namespace, remove any dependencies on INotificationService and trade it for normal events where needed.