From 628c6cbc28f5a744785731dd4e94ec7a1f881dd2 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 17 Jan 2015 13:15:09 -0500 Subject: make library scan a bit more hands off --- .../Library/LibraryManager.cs | 70 ---------------------- 1 file changed, 70 deletions(-) (limited to 'MediaBrowser.Server.Implementations/Library/LibraryManager.cs') diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs index 684a03894..eaab469f5 100644 --- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs +++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs @@ -985,76 +985,6 @@ namespace MediaBrowser.Server.Implementations.Library return new PeopleValidator(this, _logger, ConfigurationManager).ValidatePeople(cancellationToken, progress); } - /// - /// Validates the artists. - /// - /// The cancellation token. - /// The progress. - /// Task. - public Task ValidateArtists(CancellationToken cancellationToken, IProgress progress) - { - // Ensure the location is unavailable. - Directory.CreateDirectory(ArtistsPath); - - return new ArtistsValidator(this, _userManager, _logger).Run(progress, cancellationToken); - } - - /// - /// Validates the music genres. - /// - /// The cancellation token. - /// The progress. - /// Task. - public Task ValidateMusicGenres(CancellationToken cancellationToken, IProgress progress) - { - // Ensure the location is unavailable. - Directory.CreateDirectory(ConfigurationManager.ApplicationPaths.MusicGenrePath); - - return new MusicGenresValidator(this, _logger).Run(progress, cancellationToken); - } - - /// - /// Validates the game genres. - /// - /// The cancellation token. - /// The progress. - /// Task. - public Task ValidateGameGenres(CancellationToken cancellationToken, IProgress progress) - { - // Ensure the location is unavailable. - Directory.CreateDirectory(ConfigurationManager.ApplicationPaths.GameGenrePath); - - return new GameGenresValidator(this, _userManager, _logger).Run(progress, cancellationToken); - } - - /// - /// Validates the studios. - /// - /// The cancellation token. - /// The progress. - /// Task. - public Task ValidateStudios(CancellationToken cancellationToken, IProgress progress) - { - // Ensure the location is unavailable. - Directory.CreateDirectory(ConfigurationManager.ApplicationPaths.StudioPath); - - return new StudiosValidator(this, _userManager, _logger).Run(progress, cancellationToken); - } - - /// - /// Validates the genres. - /// - /// The cancellation token. - /// The progress. - /// Task. - public Task ValidateGenres(CancellationToken cancellationToken, IProgress progress) - { - // Ensure the location is unavailable. - Directory.CreateDirectory(ConfigurationManager.ApplicationPaths.GenrePath); - - return new GenresValidator(this, _userManager, _logger).Run(progress, cancellationToken); - } - /// /// Reloads the root media folder /// -- cgit v1.2.3