private void ScannerFileParsed(AudioScan sender, ScanFileEventArgs e) { if (FileFound != null) { FileFound(e); } }
private async void ScannerScanDone(AudioScan sender, ScanCompletedEventArgs e) { _lib = _scanner.MediaLibrary; await MediaRepository.Instance.Save(_lib); if (ScanCompleted != null) { ScanCompleted(e); } }