/// <summary> /// Synchronizes music library information with the repository. /// </summary> protected override void PerformControllerAction() { _log.Info("Performing library data synchronization..."); _repository.SaveSongLibraryInformation(WindowsMediaPlayer.GetSongsFromLibrary()); _log.Info("Library data synchronization complete."); _log.Info("Performing library image synchronization..."); _imageRepository.SaveLibraryImages(_repository); _log.Info("Library image synchronization complete."); }
/// <summary> /// Writes song usage information to the repository. /// </summary> protected override void PerformControllerAction() { _log.Info("Updating song usage information..."); _repository.SaveSongUsageInformation(WindowsMediaPlayer.GetSongsFromLibrary()); _log.Info("Song usage update complete."); }